Change organisation name and domain in MuseScore code

• Apr 20, 2010 - 14:39
Type
Functional
Severity
S4 - Minor
Status
closed
Project

For historical reason, the following is used :
QCoreApplication::setOrganizationName("MusE");
QCoreApplication::setOrganizationDomain("muse.org");
QCoreApplication::setApplicationName("MuseScore");

These values are used to define the path of the ini files containing MuseScore preferences.
On Windows, MuseScore preferences lives in:
C:\Users\\AppData\Roaming\MusE\MuseScore.ini
C:\Users\\AppData\Local\MusE\MuseScore palettes, tmp files, sessions stuff

On Mac in
~/.config/muse.org/MuseScore.ini Preferences
~/Library/Application Support/MusE/MuseScore/ palettes, tmp files, sessions stuff

I would like to change OrganizationDomain to musescore.org and OrganisationName to MuseScore for better clarity and accuracy. The main drawback will be that by upgrading to the next version the settings and preferences will be lost.


Comments

No idea about the Mac OS, but under Windows it should be possible to make an extension to the installer (in the worse case a .bat file, but a DLL using the Qt calls would be better) which looks in the old location if present and copies (or moves) all files to the new location. Presumably this would work only for the account the user is currently logged in, but it would still cover the majority of cases.

M.