我现在正在尝试运行PyQt.当我执行以下操作时,我仍然收到以下错误:
root@localhost:/home/abhowmik/app/imgSeek-0.8.6# cd Py*
root@localhost:/home/abhowmik/app/imgSeek-0.8.6/PyQt-x11-gpl-4.8.4# python configure.py --verbose
Determining the layout of your Qt installation...
/usr/share/qt3//bin/qmake -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -o qtdirs.o qtdirs.cpp
qtdirs.cpp:1:17: fatal error: QFile: 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.
root@localhost:/home/abhowmik/app/imgSeek-0.8.6/PyQt-x11-gpl-4.8.4# ^C
root@localhost:/home/abhowmik/app/imgSeek-0.8.6/PyQt-x11-gpl-4.8.4#
Run Code Online (Sandbox Code Playgroud)
有人可以帮我解决问题吗?
J91*_*321 10
问题是configure.py正在尝试使用qt3中的qmake.试试这个:
python configure.py --qmake /usr/bin/qmake-qt4
Run Code Online (Sandbox Code Playgroud)
(你可能有qmake-qt4 som而不是/ usr/bin所以先检查一下)
| 归档时间: |
|
| 查看次数: |
12758 次 |
| 最近记录: |