There are some small issues with installing Qt on centos. Proceed as follows:
1. Download and install qt as usual:
wget http://download.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2009.03.1.bin chmod u+x qt-sdk-linux-x86-opensource-2009.03.bin ./qt-sdk-linux-x86-opensource-2009.03.bin
2. Do the following changes in order to install required fontconfig:
cd /usr/src/ wget http://fontconfig.org/release/fontconfig-2.4.2.tar.gz tar -zxf fontconfig-2.4.2.tar.gz cd fontconfig-2.4.2 ./configure –prefix=/opt/fontconfig-2.4.2 make make install # backup old library cd /usr/lib mv libfontconfig.so libfontconfig.so.old mv libfontconfig.so.1 libfontconfig.so.1.old # add link to new libraries ln -s /opt/fontconfig-2.4.2/lib/libfontconfig.so.1.2.0 ./libfontconfig.so.1 ln -s /opt/fontconfig-2.4.2/lib/libfontconfig.so.1.2.0 ./libfontconfig.so
Qt now is up and running and you should be able to build applications. Please note, in order to be able to use Qt Creator, you will have to configure it to use the newly installed Qt library.