Results 1 to 3 of 3

Thread: QSettings: Organization for indie developer?

  1. #1
    Join Date
    Dec 2008
    Location
    Qt Reference Documentation
    Posts
    62
    Thanks
    25
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QSettings: Organization for indie developer?

    I am using QSettings to store my program's settings, but I don't work for a company or an organization, what should I pass as the organization parameter to the QSettings constructor?

    Note: When I tried "none" as an organization, and tested the program in Ubuntu Linux, I found that the settings are stored in
    Qt Code:
    1. ~/.config/none/applicationName.conf
    To copy to clipboard, switch view to plain text mode 
    But when I went into the directory:
    Qt Code:
    1. ~/.config/
    To copy to clipboard, switch view to plain text mode 
    I noticed that other application are storing configurations in directories named
    Qt Code:
    1. ~/.config/applicationName/
    To copy to clipboard, switch view to plain text mode 

    Does this mean that I should set the organization parameter to be the application name, and the application name parameter to be the sub-section of the program configurations?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QSettings: Organization for indie developer?

    You can use your name for the organization.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    Lawand (13th January 2011)

  4. #3
    Join Date
    Nov 2010
    Posts
    97
    Thanks
    6
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QSettings: Organization for indie developer?

    Make something up and/or use your client's business name.
    This rude guy who doesn't want you to answer his questions.

    Note: An "expert" here is just someone that's posted a lot.

    "The fact of where you do the encapsulation is meaningless." - Qt Certified Developer and forum moderator

Similar Threads

  1. Good Developer vs Bad Developer
    By wysota in forum General Discussion
    Replies: 30
    Last Post: 13th December 2010, 16:16
  2. About tree organization...
    By Patrick Sorcery in forum Newbie
    Replies: 2
    Last Post: 3rd September 2010, 07:43
  3. Replies: 2
    Last Post: 1st May 2010, 16:05
  4. Migrate Qt3 QSettings to Qt4 QSettings
    By hvengel in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2008, 03:21

Tags for this Thread

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.