Results 1 to 2 of 2

Thread: Trolltech.conf Linking

  1. #1
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Red face Trolltech.conf Linking

    I am trying to build an application multple users can run and I am having a problem with their fonts. Anytime a user loads the program, their fonts appear in Greek letters representing the English counterparts. So it is not a direct translation from Greek to English but everything is still displaying in Greek letters. I have changed this for myself so that it uses Arial, but I do not want to deal with having everybody set this up using qtconfig for themselves. What I want to do is copy my .config directory qtconfig creates and use that for everybody but I do not know how to tell the program to use the .config directory I want everybody to use. If I copy my .config directory to something like /usr/programConfigs/.config how do I tell my Qt program to use this .config directory instead of the one that should be in the user's HOME directory. I tried writing a .csh file and redefine the environmental variable HOME to /usr/programConfigs/.config but then other problems occurred like needing to type xhost + to allow the program to run. I am in Solaris 9 trying to run this. Thanks for all your help!

  2. #2
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Cool Re: Trolltech.conf Linking

    In my main.cpp, after creating the QApplication I found I can call:
    Qt Code:
    1. app.setFont( QFont( QString( "Arial" ) ) );
    To copy to clipboard, switch view to plain text mode 
    Thanks for your help anyways.

Similar Threads

  1. static & dynamic linking
    By mickey in forum General Programming
    Replies: 6
    Last Post: 11th June 2010, 08:57
  2. Linking myLib with myApp
    By vermarajeev in forum Qt Programming
    Replies: 11
    Last Post: 20th February 2007, 13:51
  3. dynamic linking on mac
    By munna in forum General Discussion
    Replies: 4
    Last Post: 1st January 2007, 18:39
  4. linking libraries
    By JustaStudent in forum Newbie
    Replies: 29
    Last Post: 2nd May 2006, 08:30
  5. Replies: 4
    Last Post: 20th February 2006, 09:11

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.