當升級xcode后打開qt項目時提示如下錯誤:
PRoject ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.最終在stackoverflow上找到解決辦法,鏈接為:http://stackoverflow.com/questions/33728905/qt-creator-project-error-xcode-not-set-up-properly-you-may-need-to-confirm-t。 我升級完xcode后的版本為8.2.1,直接修改Qt_install_folder/5.7/clang_64/mkspecs/features/mac/default_pre.prf文件。將
isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null")))替換為:
isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null")))新聞熱點
疑難解答
圖片精選