I have this situation:
- libA.a that has no dependencies
- libB.a that depends on libA.a
- libC.a that depends on libA.a
in B.pro i have
LIBS += -lA
in C.pro i have
LIBS += -lA
in app.pro i have
LIBS += -lA
LIBS += -lB
LIBS += -lC
But when i compile the linker gives me undefined references on libA classes that are used in libB and libC.
How can i fix this? Thank you