1
在構建/安裝PyQt(從源代碼或使用pip
)時,如何指定本地Qt5安裝的路徑?構建PyQt以與Qt5一起使用
我建QT5從源(qt-everywhere-opensource-src-5.0.2.tar.gz)用下面的命令:
wget http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz
tar -xvf qt-everywhere-opensource-src-5.0.2.tar.gz
cd qt-everywhere-opensource-src-5.0.2
./configure -prefix $PWD/qtbase -opensource -nomake tests
make -j 4
如果我再cd
到qtbase
我看到:
bin/
dist/
doc/
examples/
imports/
include/
lib/
etc ...
望着PyQt4的installation instructions我找不到標誌或一個選項來指定Qt安裝的位置。
有沒有辦法告訴PyQt4在哪裏可以找到Qt5?
注意:我沒有root權限,需要在本地安裝。