Wednesday, April 11, 2012

Building PyQT on CentOS 6


$%& CENTOS, and Riverbank, what's wrong with good old ./configure ???



Now, I have been trying to install PyQT for about 2 hours now, and I am lost.



I do:



PyQt-x11-gpl-4.9.1 # export QMAKESPE=linux-g++


But this does not work?



# python configure.py -w --confirm-license --qmake=/usr/lib64/qt4/bin/qmake -k                                                   
Determining the layout of your Qt installation...
/usr/lib64/qt4/bin/qmake -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include -I. -o qtdirs.o qtdirs.cpp
g++ -m64 -Wl,-O1 -o qtdirs qtdirs.o -lQtCore -lpthread
./qtdirs
Error: Unable to find the qmake configuration file
/usr/lib64/qt47/mkspecs/default/qmake.conf. Use the QMAKESPEC environment
variable to specify the correct platform.


The README file does not provide that much of a great help, and at this point I really admire Debian and hate the only 1 Billion dollar open-source company.
Can someone here give me a tip how to build PyQT ?





No comments:

Post a Comment