安装PyQt-x11-gpl-4.11.3.tar.gz
执行:python3 configure.py
报错:Failedto determine the layout of your Qt installation.Tryagain using
the --verbose flag to see more detail about the problem.
这是编译器问题,应该指定qt4编译器:python3 configure.py --qmake /usr/bin/qmake-qt4
然后会报错误:...-g or -k argument
所以正确的命令是:python3 configure.py -k --qmake /usr/bin/qmake-qt4
接着:make
make install
ubuntu下qt4+pyqt4+eric4快速安装:http://www.linuxdiyf.com/linux/14134.html
Qt5.5和PyQt5.5在UbuntuKylin15.04的快速安装脚本:http://www.linuxdiyf.com/linux/13046.html
在ubuntu 14.04 64bit下配置安装PyQt4(python2.7和python3.4):http://www.linuxdiyf.com/linux/13934.html