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. This mkspec requires Xcode 4.3 or later
Forum Updated to NodeBB v4.3 + New Features

This mkspec requires Xcode 4.3 or later

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
20 Posts 5 Posters 3.8k 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.
  • K Offline
    K Offline
    kgregory
    wrote on last edited by
    #11

    When I run it with Qt 5.11.1 as the target, I get "9.4.1".

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kgregory
      wrote on last edited by
      #12

      It says the error occurs while parsing my .pro file. I don't know if that means anything to you, but I assume that if it fails to parse, then it's not going to print the message.

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

        What if you put it in an empty pro file ?

        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
          kgregory
          wrote on last edited by
          #14

          When I created a new project and compile for Qt 5.11.1, it returns 10.0. When I compile for 5.9.3, I get the Xcode 4.3 error.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kgregory
            wrote on last edited by
            #15

            Well, I re-installed Qt from scratch and nothing changed. :-(

            I'm using Qt 5.11.2 now instead of 5.11.1, though.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kgregory
              wrote on last edited by kgregory
              #16

              Ok, I installed 5.10.2 and am able to compile and deploy with that. Furthermore, it solves my problem. Apparently, whatever bug I encountered was introduced between then and 5.11.1.

              Here is the thread for the bug I was dealing with: https://forum.qt.io/topic/95085/qlowenergyservice-never-completes-discovery/2

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

                Did you check whether the bug report system has 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

                1 Reply Last reply
                0
                • AndySA Offline
                  AndySA Offline
                  AndyS
                  Moderators
                  wrote on last edited by
                  #18

                  After you did the copy of the mkspecs, you need to make sure you remove any .qmake.stash files that it has in the directory or parent directories as it may be reusing those. Other than that, upgrading Qt 5.9.x might help too, otherwise you have to trawl the fixes to see what changed it though using the mkspecs/features directory should have helped.

                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1
                  • P Offline
                    P Offline
                    paulmasri
                    wrote on last edited by
                    #19

                    This is a documented bug https://bugreports.qt.io/browse/QTBUG-70592 and the fix is in 5.9.7 due out next week. There is no workaround, as far as I am aware.

                    GrecKoG 1 Reply Last reply
                    1
                    • P paulmasri

                      This is a documented bug https://bugreports.qt.io/browse/QTBUG-70592 and the fix is in 5.9.7 due out next week. There is no workaround, as far as I am aware.

                      GrecKoG Offline
                      GrecKoG Offline
                      GrecKo
                      Qt Champions 2018
                      wrote on last edited by
                      #20

                      The workaround is to disable the check for xcode versions in mkspecs files, to do this prepend false: before lessThan(QMAKE_XCODE_VERSION in those files :

                      • mkspecs/features/uikit/default_pre.prf:24
                      • mkspecs/features/uikit/default_post.prf:42
                      • mkspecs/features/uikit/bitcode.prf:1

                      For default_pre.prf, line 24 should then be:
                      false:lessThan(QMAKE_XCODE_VERSION, "4.3"): \

                      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