To simplify the situation, lets say that there are 2 files: core.cpp
and main.cpp
.
core.cpp
contains the functionality of the program and main.cpp
contains the basic main()
implementation.
I want Qt (using qmake and the .pro files) to
- first build
core.a
and then - use that and
main.cpp
to buildmain.exe
.
How do I set this up in the qmake file?