Results 1 to 4 of 4

Thread: Change font directory path

  1. #1
    Join Date
    Apr 2009
    Posts
    18
    Thanks
    3
    Thanked 2 Times in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Change font directory path

    Hi all.

    I installed QT embedded 4.5.0 on my Fedora 9 machine under the default location

    /usr/local/Trolltech/QtEmbedded-4.5.0-arm

    Then I crosscompile my application for my target (ARM architecture) and the application searches fonts under the same location.

    How can I change the font dir path? I have to edit thw qmake.conf file?


    Thank you in advance

    Beppe

  2. #2
    Join Date
    Jul 2008
    Posts
    139
    Thanks
    9
    Thanked 18 Times in 15 Posts
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Change font directory path

    Hi I did that recently,
    I tried to find a way using the qt.conf file but I don't know if it supports it, and I didn't want to maintain another file. You can edit the http://doc.trolltech.com/4.1/qt-conf.html
    What I did was put a symbolic link in the original path pointing to the directory I have my fonts in.

  3. The following user says thank you to QbelcorT for this useful post:

    Beppe (29th June 2009)

  4. #3
    Join Date
    Apr 2009
    Posts
    18
    Thanks
    3
    Thanked 2 Times in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Change font directory path

    Thank you QbelcorT. I edit the qt.conf file and add my lib path. Now it works

  5. #4
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Change font directory path

    Hello,

    I have the same problem!
    How I add a lib in my path?

    Thanks!

Similar Threads

  1. some questions about install qwt
    By dycjiaoda in forum Qwt
    Replies: 1
    Last Post: 8th February 2011, 01:37
  2. Replies: 1
    Last Post: 2nd August 2008, 15:46
  3. Change Font of QListWidget to Monospace Font
    By pospiech in forum Qt Programming
    Replies: 3
    Last Post: 25th July 2008, 18:23
  4. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  5. How to prevent table header from font change.
    By kenny_isles in forum Qt Tools
    Replies: 1
    Last Post: 14th February 2007, 19:01

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.