新的Mac App Store的Qt应用程序 [英] Qt applications on new Mac App Store

查看:432
本文介绍了新的Mac App Store的Qt应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有上有潜力去新的Mac App Store的OS X上运行一个Qt应用程序。

I have a Qt app that runs on OS X that has potential to go on the new Mac App Store.

我在<一个审查的准则href=\"https://developer.apple.com/appstore/mac/resources/approval/guidelines.html\">https://developer.apple.com/appstore/mac/resources/approval/guidelines.html.我还看到一个帖子在这里SO关于Java和AppStore的。

I have reviewed the guidelines at https://developer.apple.com/appstore/mac/resources/approval/guidelines.html. I also saw a post here on SO about Java and the AppStore.

任何人都有自己的应用程序,以及是否Qt框架发生冲突会在App警察跑考虑过这个?您还必须留在苹果公司HIG内,即没有主题化,不能使用私有的API。

Has anyone else considered this with their own apps and whether or not the Qt framework will run afoul of the App police? You still have to stay within the Apple HIG, i.e. no theming and cannot use private APIs.

不过好像比纯ObjC一个危险的命题。任何人都动心?

Still seems like a risky proposition over pure ObjC. Anyone else tempted?

推荐答案

我的Qt应用程序已于今天被接受,并且可以在App Store。因此,答案是肯定的,苹果会接受基于Qt的应用程序。

My Qt app has today been accepted and is available on the App Store. So the answer is yes, Apple will accept Qt based applications.

下面是关于我的应用程序的一些信息。它用C ++编写,并在LGPL许可使用Qt V4.7.2。 Qt的框架都包括在应用程序包(显然,如LGPL需要我使用动态链接代替静态)。也有一些其他的框架,从尼康和佳能,因为它为数码单反相机遥控器的应用程序 - 请参阅http:www.hartcw.com。这些仅可编译为32位英特尔,因此,这迫使我的应用程序也针对32位,所以我不得不使用Qt的32位积碳。

Here's some information about my application. It written in C++ and uses Qt v4.7.2 under the LGPL license. The Qt frameworks are included in the app bundle (obviously, as LGPL requires I use dynamic linking instead of static). There are also some other frameworks, from Nikon and Canon, because its an app for remote control of DSLR cameras - see http:www.hartcw.com . These are only available compiled for Intel 32bit, hence this forces my app to also target 32bit, and so I have to use the 32bit Carbon build of Qt.

关于写文件到本地硬盘,它不写什么到包目录,但写入此目录:

Regarding writing files to the local hard disk, it does not write anything to the bundle directory, but does write to this directory:

~/Application Support/Hart/Smart Shooter

这也写Qt的图形用户界面的状态到这个文件(通过QSettings类)

It also writes Qt GUI state to this file (via the QSettings class)

~/Library/Perferences/com.hartcw.SmartShooter.plist

哈特是与苹果公司注册的,而com.hartcw.SmartShooter是应用程序标识符名称的公司名称,所以我觉得这是对苹果的检查。

'Hart' is the company name as registered with Apple, and 'com.hartcw.SmartShooter' is the app identifier name, so I think this is what Apple checks against.

也有一对夫妇的事情,我必须做的关于plist文件,请参阅http://hartcw.com/francis/qt-and-the-mac-app-store

Also there were a couple of things I had to do regarding the plist file, see http://hartcw.com/francis/qt-and-the-mac-app-store

逸岸它是由苹果公司接受第一次!这是在10天左右的等待审核阶段,然后转移回顾,为约4小时,然后去住在App Store上。

Infact it was accepted first time by Apple! It was in the 'waiting for review' stage for about 10 days, then transitioned to 'in review' for about 4 hours, and then went live on the app store.

这篇关于新的Mac App Store的Qt应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆