[Qt-interest] Qt apps in Apple Mac Store?
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Mon Jan 10 17:51:31 CET 2011
On 2011-01-10 Markus Markus Goetz wrote:
> > ...
> I've created a placeholder task for now.
> http://bugreports.qt.nokia.com/browse/QTBUG-16549
Thanks! AFAICT the only real critical part as of now is the (automatic) creation of the global "Qt settings" in ~/Library/Preferences/com.trolltech.plist. Unfortunately I am not an ADC member (yet), so I don't have insight into the exact requirements (http://developer.apple.com/devcenter/mac/documents/submitting.html) and don't know what exactly that file/location violates. I /guess/ the domain name trolltech.com which would not match with the "application domain name" (e.g. "foosoftware.com").
A workaround (http://www.qtcentre.org/attachment.php?attachmentid=5727&d=1294438348) has been provided by AronR in http://www.qtcentre.org/threads/35292-Qt-Apps-banned-from-Mac-App-Store?p=172964#post172964 which suggests to introduce a method which lets the application choose at startup to store/read these settings to/from the application's own configuration file (the one created via QSettings as well). To be discussed and tested and "beautified". E.g. one could maybe specify the behaviour/location of ~/Library/Preferences/com.trolltech.plist in qt.conf, which has to be (most likely) bundled anyway, as to specify the Qt plugins locations (inside the app bundle).
All the other issues I think are less critical: for instance one workaround for the QDesktopServices::storageLocation() ("dataLocation", "cacheLocation") would simply be to not use it at all and "hardcode" that path to the accepted "~/Library/Application Support/[bundleId]" (not sure what [bundleId] is supposed to be, I think "[com.company.App]", have to check with my Mac tonight. Also refer to original post given above.
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list