• 8450阅读
  • 2回复

[提问]Error: Failed to determine the layout of your Qt installation [复制链接]

上一主题 下一主题
离线hunterdrf
 

只看楼主 倒序阅读 楼主  发表于: 2011-10-27
小弟昨天刚刚上手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.


小弟实在是没辙。。。已经卡在这里一天了。。。求前辈赐教
离线hunterdrf

只看该作者 1楼 发表于: 2011-10-28
求教呀。。。
离线alanland
只看该作者 2楼 发表于: 2011-11-11
没有安装qt4的库吧。
我刚才也是这个问题。
无奈下去安装了qt4相关的软件。现在好了。
(本人 ubuntu,搜索安装了 qt4 desigener/tools/那一套东西)
希望对你由帮助

=============================
可以运行命令了,呵呵呵
This is the GPL version of PyQt 4.8.6 (licensed under the GNU General Public
License) for Python 2.7.2+ on linux2.

Type '2' to view the GPL v2 license.
Type '3' to view the GPL v3 license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes
Found the license file pyqt-gpl.sip.
Checking to see if the QtGui module should be built...
Checking to see if the QtHelp module should be built...
Checking to see if the QtMultimedia module should be built...
Checking to see if the QtNetwork module should be built...
Checking to see if the QtDeclarative module should be built...
快速回复
限100 字节
 
上一个 下一个