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

OS updates breaks and stops ability to build



  • Today Apple rolled out updates to Operating System along with updates to Xcode, the macOS is now:

    macOS Big Sur, Version 11.0.1
    

    Xcode:

    Version 12.2 (12B45b)
    

    I'm now getting in Qt Creator:

    
    09:36:38: Running steps for project XMLMPAM...
    09:36:38: Starting: "/usr/bin/make" clean -j8
    /Users/simonplatten/Qt/5.15.1/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
    The platform SDK has been changed from version 10.15.6 to version 11.0.
    This requires a fresh build. Please wipe the build directory completely,
    including any .qmake.stash and .qmake.cache files generated by qmake.
    09:36:38: The process "/usr/bin/make" exited with code 2.
    09:36:38: Starting: "/Users/simonplatten/Qt/5.15.1/clang_64/bin/qmake" /Users/simonplatten/XMLMPAM/XMLMPAM.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 CONFIG-=qml_debug CONFIG-=qtquickcompiler
    09:36:38: The process "/Users/simonplatten/Qt/5.15.1/clang_64/bin/qmake" exited normally.
    09:36:38: Starting: "/usr/bin/make" -f /Users/simonplatten/XMLMPAM/build-XMLMPAM-Desktop_Qt_5_15_1_clang_64bit-Debug/Makefile qmake_all
    /Users/simonplatten/Qt/5.15.1/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
    The platform SDK has been changed from version 10.15.6 to version 11.0.
    This requires a fresh build. Please wipe the build directory completely,
    including any .qmake.stash and .qmake.cache files generated by qmake.
    09:36:39: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project XMLMPAM (kit: Desktop Qt 5.15.1 clang 64bit)
    When executing step "qmake"
    09:36:39: Elapsed time: 00:01.
    

    I'm closed down Qt Creator, cleaned out the build folders, but it seems it didn't help...any suggestions?



  • @J-Hilk , if I just took the time to read the output I could have fixed it hours ago, having just done exactly that, its now fixed.

    The solution, open terminal, go to build folder, delete the contents of the build folder including any hidden files, specifically on my system .qmake.stash

    Then run qmake and rebuild, no more problem.


  • Moderators

    Just a guess, but maybe try removing build dirs and also the .pro.user file. This will completely reset project config in Qt Creator and maybe fix the issue.



  • I've just come back, cleaned all and rebuilt again:

    
    12:39:11: Running steps for project XMLMPAM...
    12:39:11: Starting: "/Users/simonplatten/Qt/5.15.1/clang_64/bin/qmake" /Users/simonplatten/XMLMPAM/XMLMPAM.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 CONFIG-=qml_debug CONFIG-=qtquickcompiler
    12:39:12: The process "/Users/simonplatten/Qt/5.15.1/clang_64/bin/qmake" exited normally.
    12:39:12: Starting: "/usr/bin/make" -f /Users/simonplatten/XMLMPAM/build-XMLMPAM-Desktop_Qt_5_15_1_clang_64bit-Debug/Makefile qmake_all
    The platform SDK has been changed from version 10.15.6 to version 11.0.
    This requires a fresh build. Please wipe the build directory completely,
    including any .qmake.stash and .qmake.cache files generated by qmake.
    /Users/simonplatten/Qt/5.15.1/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
    12:39:12: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project XMLMPAM (kit: Desktop Qt 5.15.1 clang 64bit)
    When executing step "qmake"
    12:39:12: Elapsed time: 00:01.
    

  • Moderators

    @SPlatten have you by any chance, build qt yourself?



  • @J-Hilk , if I just took the time to read the output I could have fixed it hours ago, having just done exactly that, its now fixed.

    The solution, open terminal, go to build folder, delete the contents of the build folder including any hidden files, specifically on my system .qmake.stash

    Then run qmake and rebuild, no more problem.


Log in to reply