Changes between Version 23 and Version 24 of android


Ignore:
Timestamp:
Jan 15, 2013, 2:03:25 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • android

    v23 v24  
    167167}}}
    168168
    169 I've been able to successfully compile only the MeeGo based components and as that is what my applications are using on Fremantle & Harmattan, I'll use the MeeGo-based componentes for Android as a base for the guide.
    170 
     169I've been able to successfully compile both component sets. As my applications are using the MeeGo based components on Fremantle & Harmattan, I'll start with those.
    171170
    172171==== Compiling Qt Components with Necessitas ====
     
    175174{{{
    176175git clone git://gitorious.org/~brcha/qt-components/qt-components-android.git
     176cd qt-components-android
    177177checkout android-master-stable
    178178}}}
     
    181181
    182182{{{
    183 
    184183export ANDROID_NDK_ROOT=<path to folder with the Necessitas SDK>/necessitas/android-ndk
    185184export ANDROID_TARGET_ARCH=armeabi
     
    200199}}}
    201200
    202 Afther the compilation finishes, the results are inside the ''imports'' folder.
     201After the compilation finishes, the results are inside the ''imports'' folder.
     202
     203==== Compiling the other Qt Components with Necessitas ====
     204Compiling the Symbian-based Qt Components (from ~koying) is very similar to the MeeGo based components.
     205
     206{{{
     207git clone git://gitorious.org/~koying/qt-components/android-qt-components.git
     208cd android-qt-components
     209checkout 1.1-android
     210}}}
     211
     212The environmental variables for the build are the same:
     213
     214{{{
     215export ANDROID_NDK_ROOT=<path to folder with the Necessitas SDK>/necessitas/android-ndk
     216export ANDROID_TARGET_ARCH=armeabi
     217export QTDIR=<path to folder with the Necessitas SDK>/necessitas/Android/Qt/482/armeabi
     218export PATH="$QTDIR/bin:$PATH"
     219}}}
     220
     221The configuration step is a bit different. QtMobility needs to be disabled or else the build will fail & there is no --android
     222{{{
     223./configure -no-mobility
     224}}}
     225
     226Then:
     227{{{
     228make -j6
     229}}}
     230
     231Results are again in in the ''imports'' folder. Even the importa statement is the same:
     232{{{
     233import com.nokia.android 1.1
     234}}}
    203235
    204236==== Qt Components Theme ====