Results 1 to 6 of 6

Thread: Error when install QT4.1.1-opensource on RedHat9.0

  1. #1

    Exclamation Error when install QT4.1.1-opensource on RedHat9.0

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error when install QT4.1.1-opensource on RedHat9.0

    Could you post the exact error message? Is this the first error you get?

  3. #3
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Error when install QT4.1.1-opensource on RedHat9.0

    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.

  4. #4
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Thanked 42 Times in 37 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error when install QT4.1.1-opensource on RedHat9.0

    Quote Originally Posted by dimitri
    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?
    Save yourself some pain. Learn C++ before learning Qt.

  5. #5
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Error when install QT4.1.1-opensource on RedHat9.0

    I think it's a known problem, but you may send a bug report anyway.

  6. #6
    Join Date
    Feb 2006
    Posts
    6
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Error when install QT4.1.1-opensource on RedHat9.0

    Quote Originally Posted by dimitri View Post
    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.