当我尝试从更复杂的 C++ 示例中为 python 代码创建 Qt/C++ 项目时
在步骤中:
python configure.py
我得到了错误:
PS E:\data\CPython\sipPyQt4\sip> python.exe .\configure.py
sip: Unable to find file "QtGui/QtGuimod.sip"
Error: Unable to open
"E:\CPython\sipPyQt4\sip\hello.sbf"
我发现 QtGuimod.sip 在...\Python37\Lib\site-packages\PyQt4\sip\PyQt4\QtGui目录中。
为什么构建系统找不到它?
环境
- 视窗10
- SIP-4.19.17
- PyQt4-4.11.4-gpl-Py3.7-Qt4.8.7-x64