Does Apple allow Qt on iOS as dynamic library? [cl

2019-06-15 20:29发布

问题:

With the technology preview of Android/iOS support in Qt 5.1, are there any news on deploying to Apple's app store yet? Since the non-commercial version of Qt is LGPL-licensed, and dylibs are usually not permitted by the app store rules, there would not to be an exception either on Digia's or Apple's side, however the Licensing talk doesn't provide any up-to-date information on the matter.

So, did anyone try to push a dynamically linked Qt app to the store, or have an official statement of either party?

回答1:

So, did anyone try to push a Qt app to the store, or have an official statement of either party?

Yes, there are qt demo applications in there. See the following examples:

https://itunes.apple.com/us/app/subattack/id659283830

and

https://itunes.apple.com/us/app/qtquicksand/id666273528

This answers your question and concern I believe. As for further information, Qt 5.2 will even come with more support for this mobile platform. Although, I am not working on this port in the Qt Project, but I see that as a developer that 5.2 seems to support a lot more.

For instance, v8 has just got replaced by the new shiny v4 engine which will allow the proper QtQuick2 delivery for this platform.

That being said, the Apple Store will not allow dynamic libraries for runtime loading, so you will need to link statically.



回答2:

I don't know of a Qt iOS app that has been published, but I have been looking into this myself. One good thing I found was an iOS preview that was published by Qt which states the following:

"We are very excited to be able to bring Qt to a new platform. Qt for iOS is planned to be a supported part of Qt 5.2, scheduled for release late 2013. The scope of that release is not completely determined: available resources, platform/app store restrictions and Qt legacy set constraints on the project."

The rest of the blog can be found on the Qt site.

That's an official statement, although it's stating that they don't know yet.



回答3:

I have been looking into the same situation and as of now it seems that you need to have a commercial license to deploy Qt on iOS.