Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Install from scratch new empty project won't compile
Forum Updated to NodeBB v4.3 + New Features

Install from scratch new empty project won't compile

Scheduled Pinned Locked Moved Unsolved General and Desktop
19 Posts 11 Posters 5.2k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #5

    Hi,

    What do you get if you run xcodebuild -showsdks ?

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

    clogwogC 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      What do you get if you run xcodebuild -showsdks ?

      clogwogC Offline
      clogwogC Offline
      clogwog
      wrote on last edited by
      #6

      @SGaist said in Install from scratch new empty project won't compile:

      xcodebuild -showsdks

      07:46 $ xcodebuild -showsdks
      iOS SDKs:
      	iOS 12.0                      	-sdk iphoneos12.0
      
      iOS Simulator SDKs:
      	Simulator - iOS 12.0          	-sdk iphonesimulator12.0
      
      macOS SDKs:
      	macOS 10.14                   	-sdk macosx10.14
      
      tvOS SDKs:
      	tvOS 12.0                     	-sdk appletvos12.0
      
      tvOS Simulator SDKs:
      	Simulator - tvOS 12.0         	-sdk appletvsimulator12.0
      
      watchOS SDKs:
      	watchOS 5.0                   	-sdk watchos5.0
      
      watchOS Simulator SDKs:
      	Simulator - watchOS 5.0       	-sdk watchsimulator5.0
      
      1 Reply Last reply
      0
      • clogwogC Offline
        clogwogC Offline
        clogwog
        wrote on last edited by
        #7

        Which one of these SDK's is referred to when the error mentions "Platform SDK" ?

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

          Since you are building for macOS, it's macosx10.14.

          I would do a search on your machine in order to find if there's any .qmake.* file lying around containing 10.11

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

          clogwogC 1 Reply Last reply
          1
          • SGaistS SGaist

            Since you are building for macOS, it's macosx10.14.

            I would do a search on your machine in order to find if there's any .qmake.* file lying around containing 10.11

            clogwogC Offline
            clogwogC Offline
            clogwog
            wrote on last edited by
            #9

            @SGaist said in Install from scratch new empty project won't compile:

            .qmake.*

            found all items of .qmake.* and removed them.
            still same error.

            just figured out if i change to use qbs instead of qmake it works..
            searched for all instances of qmake :

            /Users/clogwog/Qt/5.11.2/ios/bin/qmake
            /Users/clogwog/Qt/5.11.2/android_armv7/bin/qmake
            /Users/clogwog/Qt/5.11.2/android_x86/bin/qmake
            /Users/clogwog/Qt/5.11.2/clang_64/bin/qmake
            /Users/clogwog/Qt/Examples/Qt-5.11.2/qmake
            /Users/clogwog/Qt/Docs/Qt-5.11.2/qmake
            /Users/clogwog/Qt/5.11.2/Src/qtbase/tests/auto/tools/qmake
            /Users/clogwog/Qt/5.11.2/Src/qtbase/qmake/doc/snippets/qmake
            /Users/clogwog/Qt/5.11.2/Src/qtbase/qmake
            /Users/clogwog/Qt/5.11.2/Src/qtbase/examples/qmake
            

            and /Users/clogwog/Qt was empty before the install using the online installer.

            i guess i can continue just using qbs

            just wish i knew what is going on here.

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

              Did you try to search for any file containing 10.11 ?

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

              clogwogC D 2 Replies Last reply
              0
              • SGaistS SGaist

                Did you try to search for any file containing 10.11 ?

                clogwogC Offline
                clogwogC Offline
                clogwog
                wrote on last edited by
                #11

                @SGaist yes, can't find any Qt related file that still points to 10.11

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  Jartza
                  wrote on last edited by
                  #12

                  I seem to suffer from same problem, except the error shows different version. Tried following:

                  shenanigans:qml_tagsutest jartza$ qmake
                  Project WARNING: Qt requires at least version 10.14 of the platform SDK, you're using 10.13. Please upgrade.
                  

                  but:

                  shenanigans:qml_tagsutest jartza$ xcrun --show-sdk-path
                  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
                  

                  and

                  shenanigans:qml_tagsutest jartza$ xcodebuild -showsdks
                  iOS SDKs:
                  	iOS 12.0                      	-sdk iphoneos12.0
                  
                  iOS Simulator SDKs:
                  	Simulator - iOS 12.0          	-sdk iphonesimulator12.0
                  
                  macOS SDKs:
                  	macOS 10.14                   	-sdk macosx10.14
                  
                  tvOS SDKs:
                  	tvOS 12.0                     	-sdk appletvos12.0
                  
                  tvOS Simulator SDKs:
                  	Simulator - tvOS 12.0         	-sdk appletvsimulator12.0
                  
                  watchOS SDKs:
                  	watchOS 5.0                   	-sdk watchos5.0
                  
                  watchOS Simulator SDKs:
                  	Simulator - watchOS 5.0       	-sdk watchsimulator5.0
                  
                  

                  //Jartza

                  clogwogC 1 Reply Last reply
                  0
                  • J Jartza

                    I seem to suffer from same problem, except the error shows different version. Tried following:

                    shenanigans:qml_tagsutest jartza$ qmake
                    Project WARNING: Qt requires at least version 10.14 of the platform SDK, you're using 10.13. Please upgrade.
                    

                    but:

                    shenanigans:qml_tagsutest jartza$ xcrun --show-sdk-path
                    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
                    

                    and

                    shenanigans:qml_tagsutest jartza$ xcodebuild -showsdks
                    iOS SDKs:
                    	iOS 12.0                      	-sdk iphoneos12.0
                    
                    iOS Simulator SDKs:
                    	Simulator - iOS 12.0          	-sdk iphonesimulator12.0
                    
                    macOS SDKs:
                    	macOS 10.14                   	-sdk macosx10.14
                    
                    tvOS SDKs:
                    	tvOS 12.0                     	-sdk appletvos12.0
                    
                    tvOS Simulator SDKs:
                    	Simulator - tvOS 12.0         	-sdk appletvsimulator12.0
                    
                    watchOS SDKs:
                    	watchOS 5.0                   	-sdk watchos5.0
                    
                    watchOS Simulator SDKs:
                    	Simulator - watchOS 5.0       	-sdk watchsimulator5.0
                    
                    

                    //Jartza

                    clogwogC Offline
                    clogwogC Offline
                    clogwog
                    wrote on last edited by
                    #13

                    @Jartza i know it's not a fix, but if you switch to the QBS build system instead of qmake it seems to work.

                    1 Reply Last reply
                    1
                    • SGaistS SGaist

                      Did you try to search for any file containing 10.11 ?

                      D Offline
                      D Offline
                      deleted372
                      wrote on last edited by
                      #14

                      Hi... I'm facing the same problem and well... here is what I get looking for 10.11 on "qmake" files:

                      ~/Qt/5.11.2/clang_64/mkspecs/macx-clang/qmake.conf (1)
                      5 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
                      ~/Qt/5.11.2/clang_64/mkspecs/macx-g++/qmake.conf (1)
                      13 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
                      ~/Qt/5.11.2/clang_64/mkspecs/macx-icc/qmake.conf (1)
                      101 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11

                      But even if I change this values to 10.14, the error persists

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        jamesalexander
                        wrote on last edited by
                        #15

                        I'd like to indicate that I have the sam issue. I ran into the problem because I had an older version of XCode, I upgraded, but the problem persists, i.e. qmake is referring to my using 9.3 of iOS simulators, when I have 10.x installed. Creator build config validates the various versions of iOS simulators I have are in fact new.

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SVRG
                          wrote on last edited by
                          #16

                          0_1550848177374_Qt requires at least version 10.12 of the platform SDK, you're using 10.11.jpg

                          I M 2 Replies Last reply
                          5
                          • S SVRG

                            0_1550848177374_Qt requires at least version 10.12 of the platform SDK, you're using 10.11.jpg

                            I Offline
                            I Offline
                            indus
                            wrote on last edited by
                            #17

                            @SVRG Thank you. It worked.

                            1 Reply Last reply
                            0
                            • S SVRG

                              0_1550848177374_Qt requires at least version 10.12 of the platform SDK, you're using 10.11.jpg

                              M Offline
                              M Offline
                              mabeghin
                              wrote on last edited by
                              #18

                              @SVRG Worked for me too thanks !

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                samhighfield
                                wrote on last edited by
                                #19

                                @SVRG Worked for me as well, thanks!

                                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