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. Qt is not compiling the project on mac OS
Forum Updated to NodeBB v4.3 + New Features

Qt is not compiling the project on mac OS

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 5 Posters 4.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.
  • T Offline
    T Offline
    thippu
    wrote on last edited by thippu
    #1

    I have installed qt creator 2 days ago and today I did update the Xcode command line tools but if I do the build of a project, qt says that

    15:14:13: Running steps for project check2...
    15:14:13: Starting: "/Users/Qt/5.11.2/clang_64/bin/qmake" /Users/axxonet/check2/check2.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 CONFIG+=qml_debug
    15:14:16: The process "/UsersQt/5.11.2/clang_64/bin/qmake" exited normally.
    15:14:16: Starting: "/usr/bin/make" qmake_all
    The platform SDK has been changed from version 10.13 to version 10.14.
    This requires a fresh build. Please wipe the build directory completely,
    including any .qmake.stash and .qmake.cache files generated by qmake.
    /Users/Qt/5.11.2/clang_64/mkspecs/features/mac/sdk.mk:11: *** ^.  Stop.
    15:14:16: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project check2 (kit: Desktop Qt 5.11.2 clang 64bit)
    The kit Desktop Qt 5.11.2 clang 64bit has configuration issues which might be the root cause for this problem.
    When executing step "qmake"
    15:14:16: Elapsed time: 00:02.
    

    what to do, help me

    J.HilkJ 1 Reply Last reply
    0
    • T thippu

      I have installed qt creator 2 days ago and today I did update the Xcode command line tools but if I do the build of a project, qt says that

      15:14:13: Running steps for project check2...
      15:14:13: Starting: "/Users/Qt/5.11.2/clang_64/bin/qmake" /Users/axxonet/check2/check2.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 CONFIG+=qml_debug
      15:14:16: The process "/UsersQt/5.11.2/clang_64/bin/qmake" exited normally.
      15:14:16: Starting: "/usr/bin/make" qmake_all
      The platform SDK has been changed from version 10.13 to version 10.14.
      This requires a fresh build. Please wipe the build directory completely,
      including any .qmake.stash and .qmake.cache files generated by qmake.
      /Users/Qt/5.11.2/clang_64/mkspecs/features/mac/sdk.mk:11: *** ^.  Stop.
      15:14:16: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project check2 (kit: Desktop Qt 5.11.2 clang 64bit)
      The kit Desktop Qt 5.11.2 clang 64bit has configuration issues which might be the root cause for this problem.
      When executing step "qmake"
      15:14:16: Elapsed time: 00:02.
      

      what to do, help me

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @thippu said in Qt is not compiling the project on mac OS:

      what to do, help me

      It's telling you what to do...

      0_1537869421027_73bdc576-9d04-4c45-b4e1-6d7aa9686874-image.png


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      T 1 Reply Last reply
      0
      • J.HilkJ J.Hilk

        @thippu said in Qt is not compiling the project on mac OS:

        what to do, help me

        It's telling you what to do...

        0_1537869421027_73bdc576-9d04-4c45-b4e1-6d7aa9686874-image.png

        T Offline
        T Offline
        thippu
        wrote on last edited by
        #3

        @J.Hilk I did delete the build files and cleaned the project and did rebuild the project.
        I'm having the same issue.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          thippu
          wrote on last edited by
          #4

          Thank you guys, I did run the Maintainance tool and reinstalled the qt, the error disappeared.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            CoolBeanz92
            wrote on last edited by CoolBeanz92
            #5

            I'm also having these issues... Running Maintainance tool and reinstalling did not work for me. And yes, I did as the error told me to do...

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

              @CoolBeanz92 Hi and welcome to devnet,

              What version of Xcode are you using ?

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

              C 1 Reply Last reply
              0
              • SGaistS SGaist

                @CoolBeanz92 Hi and welcome to devnet,

                What version of Xcode are you using ?

                C Offline
                C Offline
                colinw
                wrote on last edited by
                #7

                Make sure to check directories referenced from your project's .pro file for .qmake.stash files.

                In my case, I included some .pri files from a different directory that had a .qmake.stash, and that set EXPORT_QMAKE_MAC_SDK variable to macosx10.13 instead of 10.14.

                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