Error: Could not resolve SDK path for 'macosx10.8'

前端 未结 10 2094
难免孤独
难免孤独 2020-11-28 08:47

So I just installed qt around 5 minutes ago, and when I wanted to code a simple line of text in the Push Button and try to run it, I got this error:

:-1: error: Coul

10条回答
  •  感动是毒
    2020-11-28 09:02

    In QT 5.7.0, Xcode 8.0 (8A218a), Mac OSX El Capitan (10.11.6), this issue happened from sudden in already configured environment. 5.7/clang_64/mkspecs/qdevice.pri no longer contains QMAKE_MAC_SDK line to modify.

    I suspect some XCode part got silent update and I issue appeared again. This worked:

    1. open XCode and let it reconfigure again (automatic action upon start)
    2. delete .pro.user file from the project
    3. reopen project in QT

提交回复
热议问题