[python] make PyQT

By alexhuang

這一次更奇怪(2009/3/26)

Error: Failed to determine the layout of your Qt installation. Try again using
the –verbose flag to see more detail about the problem.

在CentOS 5.2上裝Qt4 (內定是3.3)

就ok了  +_+

—————————————————————————————–

From Tarotoast’s Stuff

http://blog.tarotoast.com/2007/10/01/395/

去找 PyQT 然後又跟我說要編需要 SIP

SIP是 PyQT 同一間公司出的

好不容易要開始編 sip 然後又…

Error: Failed to create ./qtdirs using platform linux-g++.
Make sure your compiler is installed correctly and you have a working make on your PATH. "

最好是這種 error message 有意義。

Google 又找了一下發現是寫 configure.py 的人很白爛,qt3 和 qt4 共存的時候只會抓到 qt3 然後就爆了。又仔細的爬了一下文發現可以用 -q 選項來指定 qmake 的 absolute path,所以來找一下 qmake 在哪裡就可以解決了

Leave a Reply