Results 1 to 5 of 5

Thread: Building QT4 without libfreetype, on Solaris

  1. #1
    Join Date
    Jun 2009
    Posts
    66
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Building QT4 without libfreetype, on Solaris

    Hi,

    I've been trying to not include libfreetype in my qt build, but so-far, to no avail. With the following configuration, I still get -lfreetype included in the makefiles qt produces. Does anyone have any idea what I might be doing wrong.

    ./configure -prefix /home/davidg/qt/qt-4.2.3/static -release -static -fast -platform solaris-cc -no-libpng -no-fontconfig -no-glib

    cheers,

    David

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Building QT4 without libfreetype, on Solaris

    I don't think you can get away without freetype if you are going to do anything related to GUI. If you're not interested in GUI, configure Qt ignoring freetype and then compile QtCore (and maybe other modules you need) only.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jun 2009
    Posts
    66
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Building QT4 without libfreetype, on Solaris

    Hi,

    Thanks for the quick response. Do you know what switch i need to pass to 'configure', to ignore freetype fonts. Looking at the help for 4.3.2 version of configure, there is no -no-libfreetype switch or anything. The -no-fontconfig does mention freetpye fonts, but doesn't seem to stop that lib being included.

    cheers,

    David

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Building QT4 without libfreetype, on Solaris

    If you ignore freetype fonts, you are left without font support at all (hence no GUI). As I said, you can't do that if you want GUI to work. If you don't then don't build the GUI module and you'll be safe.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jun 2009
    Posts
    66
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Building QT4 without libfreetype, on Solaris

    I managed to get QT building without the freetype font support, and GUI still worked. They way I had to get around it was to build on a system which did not have the libfreetype.so in it's library path!!

    This seems very strange to me, but it works, so i'm going to run with it.

Similar Threads

  1. Qt 4,4 on Solaris 10 compilation error
    By ToddAtWSU in forum Installation and Deployment
    Replies: 2
    Last Post: 1st July 2008, 13:24
  2. QPrinter on Solaris
    By ToddAtWSU in forum Qt Programming
    Replies: 4
    Last Post: 24th October 2006, 20:29
  3. Installing on Solaris...PLEASE HELP!
    By Rayven in forum Installation and Deployment
    Replies: 3
    Last Post: 27th July 2006, 17:33

Tags for this Thread

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.