Important: Please read the Qt Code of Conduct -

Qt is not compiling the project on mac OS

  • 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/ -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/ *** ^.  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

  • Moderators

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

    what to do, help me

    It's telling you what to do...


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

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

  • 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...

  • Lifetime Qt Champion

    @CoolBeanz92 Hi and welcome to devnet,

    What version of Xcode are you using ?

  • 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.

Log in to reply