Results 1 to 5 of 5

Thread: [qt4.1,win,g++] QSettings does not write settings

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    132
    Qt products
    Qt4
    Platforms
    Windows
    Thanked 16 Times in 16 Posts

    Default Re: [qt4.1,win,g++] QSettings does not write settings

    Add this behind the QApplication constructor of your main():

    Qt Code:
    1. QApplication a(argc, argv);
    2. a.setOrganizationName("My Company");
    3. a.setOrganizationDomain("mycompany.com");
    4. a.setApplicationName("My Application");
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    84
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    7
    Thanked 2 Times in 1 Post

    Default Re: [qt4.1,win,g++] QSettings does not write settings

    it works. thanx a lot!

    jh

Similar Threads

  1. QSettings problem?
    By cyberboy in forum Qt Programming
    Replies: 2
    Last Post: 28th June 2008, 22:14

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.