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

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Wed Feb 2 15:16:24 CET 2011


On 2011-02-02 Basti basti wrote:

> ...
> I cannot find neither
> 
> ~/Library/Preferences/com.trolltech.plist
> 
> nor any of the platform specific files
> 
> On Mac OS X versions 10.2 and 10.3, these files are used by default:
> 
> $HOME/Library/Preferences/com.MySoft.Star Runner.plist
> $HOME/Library/Preferences/com.MySoft.plist
> /Library/Preferences/com.MySoft.Star Runner.plist
> /Library/Preferences/com.MySoft.plist
> 
> on my mac (OS X 10.6).
> 
> I do not understand what you are talking on the forums.

Well, and I do not understand to what forums you refer to (since I posted to several ;), but given the "Star Runner" example above I strongly suspect you are referring to the example application that I attached to

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

If you read closely my comments there you'll see that the FIRST attached example (http://bugreports.qt.nokia.com/secure/attachment/19539/2010-01-14-MacStoreApp.zip) does indeed NOT generate the offending com.trolltech.plist! I noticed this later on myself. The reason is that this example does not invoke any Qt plugins (such as image plugins), hence it seems Qt does not need to generate the "plugin factory cache" (or whatever gets stored in that com.trolltech.plist file).

I attached a second example (http://bugreports.qt.nokia.com/secure/attachment/19565/2010-01-15-MacStoreApp.zip) and wrote a comment later on (15/Jan/11 2:39 PM: "Shows some dummy JPG, so the ~/Library/Preferences/com.trolltech.plist is now created when launching the app (the previous example did not trigger the creation of that plist file)").

I don't know what you mean with "any of the platform specific files", but I assume you are referring to the location of the QDesktopServices "data" and "cache" locations. Well, the reason why you don't find any files there after running the example application is because the example app does NOT WRITE anything ;) It simply lists the paths as reported by QDesktopServices for reference.

Does that answer your question?

Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22





More information about the Qt-interest-old mailing list