[Qt-interest] Making qmake generate Makefile to only compile object files
Silas Silva
silasdb at gmail.com
Wed Jan 14 20:43:54 CET 2009
Hello all.
I have a few .cpp files that are used for a few applications. I'm
interested about compiling them once and just link with those
applications.
When I call make, it uses the Makefile created by Qt, and it
automatically tries to link the application. As there is no main() in
any of this files, it exists with one error of "undefined reference".
My question is: is it possible to make qmake generate a Makefile that
compiles object files, but don't try to link them?
I read the documentation and searched the web, but couldn't find
anything.
Thank you very much.
--
Silas Silva
More information about the Qt-interest-old
mailing list