[Qt-interest] An alpha version of a Qt for Android SDK (called "Necessitas") seems to be available now
Nikos Chantziaras
realnc at arcor.de
Sun Feb 20 22:51:43 CET 2011
On 02/20/2011 11:43 PM, Nicholas Shatokhin wrote:
> Sun, 20 Feb 2011 23:24:17 +0200 було написано Nikos Chantziaras
> <realnc at arcor.de>:
>
>> It's Qt ported to Android using Lighthouse, and comes with Qt Creator
>> and support for debugging. The announcement was made here:
>>
>> http://groups.google.com/group/android-qt/t/209edef7c5ceec8a
>> [...]
>
> I can write programs that will work in android, ubuntu, windows, etc. Am
> I right? Is it compiling my c++ code into android's java?
It is using Google's Android NDK. That means it's compiling to native
ARM code. Your application is built as a library (MyApp.so). It then
generates a small Java loader that loads and runs the native *.so.
I gave it a quick test with one of my apps (78.000 lines of C++ code and
28.000 lines of C code). It ran on Android without any modifications to
the source code. Of course it *will* need modifications, since the
default sizes and fonts I use in my app aren't suitable for small
screens. But the fact that it actually works as-is is impressive.
More information about the Qt-interest-old
mailing list