Results 1 to 2 of 2

Thread: QSettings.

  1. #1
    Join Date
    Jul 2008
    Thanked 1 Time in 1 Post
    Qt products

    Default QSettings.

    Hi everyone,

    I want to experiment with a program I'm building that uses QSettings to remember a path.. however I want to be able to reset whatever is kept, so I can test my code further. Where are these settings being kept. I'm in a MacOS Leopard 10.5 (Documentation says in the Library folder, but where in there? )
    Qt Code:
    1. QSettings settings("Software Inc.", "Viper Sims");
    2. environment = settings.value("environment").toString();
    To copy to clipboard, switch view to plain text mode 

    Thanks in advance,

  2. #2
    Join Date
    Feb 2009
    Noida, India
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Unix/X11 Windows

    Default Re: QSettings.

    its in the preferences xml for application..documentation clearly tells the whole path:

    read about platform specific notes..although u can also force ini format, the path for which is also given..go throug the whole'll remove all your doubts
    Last edited by wysota; 5th April 2009 at 19:49. Reason: Corrected tags

Similar Threads

  1. QSettings and closeEvent()
    By vito49 in forum Newbie
    Replies: 2
    Last Post: 13th October 2008, 16:18
  2. QSettings problem?
    By cyberboy in forum Qt Programming
    Replies: 2
    Last Post: 28th June 2008, 21:14
  3. QSettings and QGLWidgets
    By Rayven in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2008, 18:01
  4. Migrate Qt3 QSettings to Qt4 QSettings
    By hvengel in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2008, 03:21
  5. Using QSettings to populate a QComboBox
    By nbkhwjm in forum Newbie
    Replies: 16
    Last Post: 4th September 2007, 22:34


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.