Please nominate your Qt Champions for 2021!

Made the mistake of updating Xcode

  • I made the mistake of updating XCode today.

    As a result, I am receiving a error "/Applications/' [-Wmissing-sysroot]" when I compile my application.

    From previous experience, I know that I need to update the .pro file with "QMAKE_MAC_SDK = macosx10.14". However, that is not resolving the problem. What is the correct way to resolve this issue

  • Lifetime Qt Champion


    Try looking for .qmake.stash files in your build or project path and delete it.

  • That did it. I deleted the build folder, did a clean and now things are working again. Thanks for pointing me in the right direction, @SGaist !

  • Lifetime Qt Champion

    Great !

    Since you have it working now, please mark the thread a solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

Log in to reply