[Qt-interest] Qt apps in Apple Mac Store?

Till Oliver Knoll till.oliver.knoll at gmail.com
Mon Mar 7 23:16:20 CET 2011


Am 02.03.11 17:57, schrieb Israel Brewster:
> For what it's worth, my Qt app (E-PunchClock Std) got into the Mac App Store with no difficulty whatever.

Congratulations :) And good news!

 >I use the Qt SQL plugins in my app extensively. Of course, I have them 
compiled statically

That's why no Qt plugin cache (factory) is used and no "Qt settings" are 
hence written (I guess). The only real problematic file so far was 
indeed only the generated ~/Library/Preferences/com.trolltech.plist. And 
as the first attached example in

   http://bugreports.qt.nokia.com/browse/QTBUG-16549

shows (2010-01-14-MacStoreApp.zip - yeah, the year is wrong ;) It 
dynamically links against Qt, but since no Qt plugin - e.g. a JPEG 
plugin - is used in that example no plugin cache (plugin factory) is 
triggered and no com.trolltech.plist is written! Unlike in the second 
attached example.

> into Qt rather than keeping them as a separate plugin, if that makes a difference.

Yes, id does ;)

> My program stores its data (and settings, although that should probably change) in ~/Library/Application Support/Company Name/Product Name. Apparently Apple was fine with that.

Check above issue - when storing data the path you gave is fine, it 
matches the "naming convention" "Company Name/App Name". However the 
settings should really go under

   ~/Library/Preferences/com.yourcompany.your_app.plist

where com.yourcompany.your_app must match with the value in the 
Info.plist (and the settings you specify when registering with the App 
Store, or so I understand).

Seems like the tester did not notice this ;)

Cheers, Oliver



More information about the Qt-interest-old mailing list