views:

489

answers:

3
+2  A: 

You're missing references to FontConfig.

./configure takes a -no-fontconfig switch, but better would be to figure out why ./configure isn't including FontConfig properly. (The logs you posted don't go far enough back to even figure out what the failed link command is.)

ephemient
I tried it on Ubuntu 9.04 and it get compiled without any error.
Sunny
yeah ubuntu has much newer packages than red hat....you actually have to downgrade your app when going from ubuntu to red hat
yan bellavance
+2  A: 

This looks like the known problem on Red Hat based systems and the old version of FontConfig that they use. There are good instructions for fixing the problem at http://theitdepartment.wordpress.com/2009/03/15/centos-qt-fcfreetypequeryface/ .

BruceCran
+1  A: 

the thing is that the fontconfig version provided by red hat is too old and missing a symbol (I read that it is the sub sub version number that is to low and that is causing the missing symbol). If you simply update fontconfig it doesnt seem to work for me because it finds the oldest version still but when I change the makefile to link to the newer libfontconfig.so directly it work. In your .pro file add the following line: LIB+= /path/to/your/NewFontConfiglib.so.X.X Also, simply doing a yum update doesnt work, it says package up to date, I read a post that showed how to add the newer one. Later on, I decided I need to build my app standalone so I started building a static version of Qt and got into the same problem.....I was not sure how to modify that makefile though and came across this post so hopefully it will work. Take a look at this post: CentOS 5.2 + Qt 4.5 + FcFreeTypeQueryFace

yan bellavance