PDA

View Full Version : Error when install QT4.1.1-opensource on RedHat9.0



seasandwind
2nd March 2006, 06:32
Hello everyone, I try to compile and install QT4.1.1-opensource on redhat9.0.
I extract the qt-x11-opensource-src-4.1.1.tar.gz to an directory and cd this dir.
Then I type ./configure and do the configure successfully.
Then I type gmake begin to compile. But the compile end with an error occur.
The error message report:
"FT_Load_Sfnt_Table" undeclared. I can't figure out what lead to this error.
Could anyone tell me how to solve this problem?
I'll appreciate it very much.
Thanks.

jacek
2nd March 2006, 14:12
Could you post the exact error message? Is this the first error you get?

dimitri
5th March 2006, 19:23
This is a bug introduced with Qt 4.1.1.

Qt 4.1.1 makes use of FT_Load_Sfnt_Table which is defined only in newer versions of the FreeType library (typically not the ones found on Red Hat 9 systems).

You'll have to remove the code that makes use of FT_Load_Sfnt_Table in file src/gui/text/qfontengine_x11.cpp.

Chicken Blood Machine
21st March 2006, 22:38
This is a bug introduced with Qt 4.1.1.

Qt 4.1.1 makes use of FT_Load_Sfnt_Table which is defined only in newer versions of the FreeType library (typically not the ones found on Red Hat 9 systems).

You'll have to remove the code that makes use of FT_Load_Sfnt_Table in file src/gui/text/qfontengine_x11.cpp.

Interesting, I've got the same problem on RedHat EL9. Do you know if Trolltech have been informed about the problem?

dimitri
23rd March 2006, 05:59
I think it's a known problem, but you may send a bug report anyway.

Kenneth
18th December 2006, 09:27
This is a bug introduced with Qt 4.1.1.

Qt 4.1.1 makes use of FT_Load_Sfnt_Table which is defined only in newer versions of the FreeType library (typically not the ones found on Red Hat 9 systems).

You'll have to remove the code that makes use of FT_Load_Sfnt_Table in file src/gui/text/qfontengine_x11.cpp.

Hello, cool man,

I removet the code about "FT_Load_Sfnt_Table", and compiler successfully on RedHat9.0.
But I don't know if remove the two line code, is Qtopia running still stable ?
Would you know if I need add some code to replace the removed codes ?

ThankS !!

K.