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. QMAKE_MACOSX_DEPLOYMENT_TARGET ignored on Qt 5.8
QtWS25 Last Chance

QMAKE_MACOSX_DEPLOYMENT_TARGET ignored on Qt 5.8

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 2 Posters 2.5k Views
  • 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.
  • K Offline
    K Offline
    krekeltronics
    wrote on last edited by
    #1

    We have QMAKE_MACOSX_DEPLOYMENT_TARGET in our project file, which always would be applied to macosx-version-min in the build for Mac. However, since updating to Qt 5.8, it has no effect. I know this because I can see macosx-version-min=10.9 despite setting QMAKE_MACOSX_DEPLOYMENT_TARGET to 10.11. Has anyone else seen this? I can't update our build server to 5.8 until this is resolved. Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      There seems to be a bug in 5.8.0 with that one however it also seems it has already been fixed at least when building the 5.8 branch from git. You might want to check the bug report system to see if there's something related.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply
      0
      • K Offline
        K Offline
        krekeltronics
        wrote on last edited by
        #3

        Cool - I'll take a look. We need a reliable way to keep our build servers up to date so I hope whatever is on the git branch is officially released soon. Cheers!

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          There seems to be a bug in 5.8.0 with that one however it also seems it has already been fixed at least when building the 5.8 branch from git. You might want to check the bug report system to see if there's something related.

          K Offline
          K Offline
          krekeltronics
          wrote on last edited by
          #4

          @SGaist 'tis here: https://bugreports.qt.io/browse/QTBUG-56965?jql=text ~ "QMAKE_MACOSX_DEPLOYMENT_TARGET"

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Thanks for the link !

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • K Offline
              K Offline
              krekeltronics
              wrote on last edited by
              #6

              I can confirm this works:

              as a workaround, they can put the variables into <top-level>/.qmake.conf
              
              1 Reply Last reply
              1

              • Login

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