[Interest] Qt 5 and Mac App Store

Daniel Price daniel.price at fxhome.com
Fri Oct 19 10:55:02 CEST 2012

What's the solution to the file-link issue in Qt? Sandboxing prevents an app from reading or writing to any file other than those chosen specifically by a user via powerbox (the native dialogs). So if you app has a 'recent file' list or some other way to access files programmatically, it won't work. This is the number one reason why so many established apps were pulled from the store.

-----Original Message-----
From: interest-bounces+daniel.price=fxhome.com at qt-project.org [mailto:interest-bounces+daniel.price=fxhome.com at qt-project.org] On Behalf Of Matilainen Pasi
Sent: 19 October 2012 08:59
To: interest at qt-project.org
Subject: [Interest] Qt 5 and Mac App Store


I had a look at the status of Qt 5 on OS X regarding issues with Mac App Store that were encountered in 4.8. It's looking quite good generally.

File dialog crashes inside a sandbox have been fixed with a patch similar to the 4.8 one, so Qt 5 apps can run inside a sandbox without issues. Of course, there are other things that would be nice to have inside a sandbox, like support for the recent files API. There have been some patches for that, but nothing has been merged yet.

Global settings can be stored in an application-specific settings file in Qt 5 (on OS X), so the issue with applications writing to com.trolltech.plist can be avoided. The fix is different from the 4.8 one, I'll see if I can get Qt 5 to behave more like 4.8 here (at least to avoid using com.trolltech.plist when the application runs in a sandbox).

The fix for updating the state of "Show All" etc menu items in the application menu is also in Qt 5.

The private API access issue in WebKit still exists. The workaround is to build WebKit without HTML5 video support, as far as I know there aren't any better solutions. Of course, there's still the issue that Apple may reject copies of WebKit from the Mac App Store.

Hopefully there aren't too many new issues with the App Store in Qt 5.
No-one has probably submitted any Qt 5-based apps to Mac App Store yet, doing a "test submission" at some point might be a good idea.

Pasi Matilainen
Qt Commercial R&D

Interest mailing list
Interest at qt-project.org

This email is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. Errors and Omissions Excluded. If you are not the intended recipient please notify the sender. Please delete the message from all places in your computer where it is stored. You should not copy the email or use it for any purpose or disclose its contents to any other person. To do so may be unlawful. Email is an informal means of communicating and may be subject to data corruption accidentally or deliberately. For this reason it is inappropriate to rely on advice contained in an email without obtaining written confirmation of it first.

FXhome Limited is a limited company registered in England and Wales. Registered number: 04172812. Registered office: Suite 4 St Giles House, 27 St Giles Street, Norwich, Norfolk, NR2 1JN, U.K.

More information about the Interest mailing list