在PyQt5安装期间获取SDK Path错误

时间:2017-09-13 14:32:48

标签: xcode macos pyqt pyqt5 osx-elcapitan

我试图在this指南后安装PyQt5(PyQt-gpl-5.5.1)。但是,在qmake期间,我收到了SDK Path错误。

python configure.py --qmake /path/to/qmake --verbose
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
/opt/local/libexec/qt5/bin/qmake -o qtdetail.mk qtdetail.pro
Project ERROR: Could not resolve SDK Path for 'macosx10.11'
Error: Failed to determine the detail of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.

xcrun --show-sdk-pathxcodebuild -sdk -version表明当前的sdk版本是macosx10.12,而PyQt期望macosx10.11(基于系统版本)并相应地形成.pro文件。

我得到它,configure.py SDK版本中的某个地方被定义为系统版本。你能帮我找一下吗?

0 个答案:

没有答案