Results 1 to 2 of 2

Thread: Changing Path to Trolltech.conf

  1. #1
    Join Date
    Aug 2010
    Posts
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Question Changing Path to Trolltech.conf

    Hi,

    using Qt 4.6.x (Linux and Windows), I want to start two applications using different Trolltech.conf files (different color schemes).
    Is the search path to Trolltech.conf fixed to ~/.config or may it be changed by environment variables, command line parameters, etc.
    Is there a way to handle it on Windows OSs?

    Thanks in advance for any hints

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Changing Path to Trolltech.conf

    You can either pass the file name as argument to the application.
    Or you can copy the .conf files in the same directory as the exe itself.
    Current directory is the first place where system tries to find files. So if your .conf are in same directory as the .exe, it will be picked up

Similar Threads

  1. qt.conf (again) on windows
    By frares in forum Installation and Deployment
    Replies: 2
    Last Post: 6th July 2010, 19:50
  2. qt.conf
    By wirasto in forum Qt Programming
    Replies: 5
    Last Post: 25th December 2009, 15:45
  3. Qt.conf??? Maybe not...
    By Nefastious in forum Installation and Deployment
    Replies: 1
    Last Post: 7th November 2009, 23:32
  4. Replies: 8
    Last Post: 17th October 2009, 09:10
  5. Trolltech.conf Linking
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 27th February 2007, 19:23

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.