Determine QMAKESPEC
-
Is there a way to determine the spec qmake was run with?
That's not necessarily QMAKESPEC env variable. Consider qmake was run with '-spec win32-msvc2008', I'd like to get this value from my project file.
-
Qt Creator extracts that from the generated Makefile. There is a comment in the header giving the qmake line that was used to generate the file.
-
I have a pro file that executes qmake for 2 other projects (my project is NOT subdirs). I need them to be executed with the same mkspec the parent project was run with. Is there a way to do that?