Hi,
How can I add QMAKESPEC inside a pro file and tell qmake to use the spec to generate the Makefile?
Thanks
Hi,
How can I add QMAKESPEC inside a pro file and tell qmake to use the spec to generate the Makefile?
Thanks
I never had to explicitly use that variable before, but I guess you use it just like any other var:
QMAKESPEC += <qmake.conf location>.
In the docs they say you should use the QMAKESPEC system enviornment variable instead (which makes sense)
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
QMAKESPEC should be not be used inside of a .pro file. It just doesn't make any sense there. Instead, set it as an environment variable, or use the -spec option to qmake.
Bookmarks