Atomic_Sheep
13th October 2017, 10:35
Hi,
If you use a default constructor for QSettings, it automatically gets the values of:
QCoreApplication::setOrganizationName("MySoft");
QCoreApplication::setOrganizationDomain("mysoft.com");
QCoreApplication::setApplicationName("Star Runner");
That's all fine, but how do you then go about changing for example:
QSettings::format()
This only returns the format used, but if I don't specify it in the default constructor because I want the program to automatically get the values of my organisation and application names, then there's no way of specifying the format after?
If you use a default constructor for QSettings, it automatically gets the values of:
QCoreApplication::setOrganizationName("MySoft");
QCoreApplication::setOrganizationDomain("mysoft.com");
QCoreApplication::setApplicationName("Star Runner");
That's all fine, but how do you then go about changing for example:
QSettings::format()
This only returns the format used, but if I don't specify it in the default constructor because I want the program to automatically get the values of my organisation and application names, then there's no way of specifying the format after?