• 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.

  • Moderators

    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?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.