Results 1 to 2 of 2

Thread: Is it necessary to setDomainName and other stuff ?

  1. #1
    Join Date
    Jun 2011
    Posts
    69
    Thanks
    13
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Question Is it necessary to setDomainName and other stuff ?

    Hi
    is it really necessary to set
    Qt Code:
    1. QCoreApplication::setOrganizationName("OrgName");
    2. QCoreApplication::setOrganizationDomain("DomainName.com");
    3. QCoreApplication::setApplicationName("ProjectName");
    To copy to clipboard, switch view to plain text mode 
    I just want to use QSetting, and i don't have any domain or organization.
    What do you prefer to do?
    Thanks
    ...یه مرد هیچوقت زمین نمیخوره

  2. #2
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Is it necessary to setDomainName and other stuff ?

    It depends upon where you are going to store your settings. Application and organization names are used for paths, for example, ~/.config/<Organization>/<Application>/config.ini.
    Oleg Shparber

Similar Threads

  1. Phonon stuff
    By stevey in forum Qt Programming
    Replies: 3
    Last Post: 31st August 2009, 12:26
  2. Get Hot New Stuff!!!!
    By Mystical Groovy in forum KDE Forum
    Replies: 4
    Last Post: 16th December 2008, 00:21
  3. adding PHONON and stuff
    By baray98 in forum Installation and Deployment
    Replies: 1
    Last Post: 18th August 2008, 17:37
  4. Export Qt stuff from DLL goes wrong
    By RThaden in forum Qt Programming
    Replies: 1
    Last Post: 29th March 2008, 22:09
  5. Howto draw stuff
    By Morea in forum Newbie
    Replies: 16
    Last Post: 7th April 2006, 12:05

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.