Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Determine QMAKESPEC
Qt 6.11 is out! See what's new in the release blog

Determine QMAKESPEC

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    orgads
    Qt Champions 2017
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        orgads
        Qt Champions 2017
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved