小弟昨天刚刚上手qt,从官网上下的
Qt_SDK_Lin32_online_v1_1_3_en.run 进行的在线安装。
现在向安装 PyQT, 在但是在 python configure.py 时候发生了错误:
Determining the layout of your Qt installation...
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
hunterding@HunTerDing:~/Downloads/PyQt-x11-gpl-4.8.6$ sudo python configure.py --verbose
Determining the layout of your Qt installation...
/usr/bin/qmake -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -o qtdirs.o qtdirs.cpp
qtdirs.cpp:1:28: fatal error: QCoreApplication: No such file or directory
compilation terminated.
make: *** [qtdirs.o] Error 1
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
小弟实在是没辙。。。已经卡在这里一天了。。。求前辈赐教