[Interest] Mac App Store submission issues
paul at fxtech.com
Wed Feb 15 22:20:18 CET 2012
On 2/15/2012 3:00 PM, norulez at me.com wrote:
> This works in Qt 4.8.
> Set only your application name (Demo) and organization name (mydomain.at) and call:
> QSettings settings;
> The location for sandboxed apps is ~/Library/Container/at.mydomain.Demo/Library/Preferences/
> You can get this information with settings.fileName().
Good to know. I suppose the easiest thing at this point would be to just
grab the latest 4.8 distribution and use that instead. But then we'd
have to go through our UI testing again (things seem to break subtly
from version to version of Qt, especially on Mac).
> Am 15.02.2012 um 21:45 schrieb Paul Miller<paul at fxtech.com>:
>> On 2/15/2012 7:36 AM, Matilainen Pasi wrote:
>>> - Storage location paths do not conform to App Store requirements when a
>>> localized company or app name is used. Not a very common problem as far as
>>> I know, but there's a patch for this in QTBUG-16549.
>> I just had my most recent submission rejected. Apparently now they do
>> not want you storing preferences (QSettings) in ~/Library/Preferences
>> (huh - wonder what the purpose of that folder is).
>> I guess each app now has to store preferences in its own
>> ~/Library/<app-identifier> instead.
>> I suppose the fix for this is to provide QSettings a path to use instead
>> of relying on it to default to Preferences.
>> (this is in Qt 4.7 - I don't know if this has been changed for 4.8).
>> Interest mailing list
>> Interest at qt-project.org
More information about the Interest