[Interest] Qt on Windows Phone 8

Till Oliver Knoll till.oliver.knoll at gmail.com
Thu Jun 21 14:33:21 CEST 2012


2012/6/21 Konstantin Tokarev <annulen at yandex.ru>:
>
>
> 21.06.2012, 15:05, "Till Oliver Knoll" <till.oliver.knoll at gmail.com>:
>> As for iOS, I've heard that "No JavaScript interpreter allowed" is a
>> problem to properly port Qt/QML on the iPhone/iPad (that comes from
>> the App Store rule that "No interpreter allowed" - not specifically
>> JavaScript).
>
> However, Lua interpreter is allowed.

Yes, true! In fact, I have to revise my previous statements:

* Apple apparently /allows/ interpreters in apps, as long as your app
doesn't have the capability to download /external/ code to be
interpreted (as to circumvent the "In-App purchase" - again, an
"economical reason", not a "technical based one")!

* The reason why I wrongly stated that Apple would disallow
(JavaScript) interpreters in general was because I read (on this list)
that people had trouble with porting the V8 JS engine (of Qt 5/QML).
But /not/ because that was forbidden per se, but rather because of
Just In Time compilation which apparently does not work/is forbidden
on iOS, due to sandbox restrictions (or so; didn't bother to go into
details here):

"If you embed your own interpreter engine (any programming language),
you will have to disable JIT (or any other dynamic executable code
generation), as writing executable code will not work in the app
sandbox on stock OS iOS devices."
[http://stackoverflow.com/questions/6482643/v8-javascript-engine-and-mac-app-store]


So, for Apple basically as long as it is made sure that you pay your
30% to Apple for every buck you earn they don't lock you in into a
specific technology or language (even though the "economical
constraints" do have technical implications, off course).

And I think Microsoft will just follow the same reasoning when it
comes to allowing apps on Windows 8 Mobile (or whatever it will be
called) - or Windows 8 desktop, should there ever be a similar "App
Store".

Cheers, Oliver



More information about the Interest mailing list