| 202 | | Afther the compilation finishes, the results are inside the ''imports'' folder. |
| | 201 | After the compilation finishes, the results are inside the ''imports'' folder. |
| | 202 | |
| | 203 | ==== Compiling the other Qt Components with Necessitas ==== |
| | 204 | Compiling the Symbian-based Qt Components (from ~koying) is very similar to the MeeGo based components. |
| | 205 | |
| | 206 | {{{ |
| | 207 | git clone git://gitorious.org/~koying/qt-components/android-qt-components.git |
| | 208 | cd android-qt-components |
| | 209 | checkout 1.1-android |
| | 210 | }}} |
| | 211 | |
| | 212 | The environmental variables for the build are the same: |
| | 213 | |
| | 214 | {{{ |
| | 215 | export ANDROID_NDK_ROOT=<path to folder with the Necessitas SDK>/necessitas/android-ndk |
| | 216 | export ANDROID_TARGET_ARCH=armeabi |
| | 217 | export QTDIR=<path to folder with the Necessitas SDK>/necessitas/Android/Qt/482/armeabi |
| | 218 | export PATH="$QTDIR/bin:$PATH" |
| | 219 | }}} |
| | 220 | |
| | 221 | The 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 | |
| | 226 | Then: |
| | 227 | {{{ |
| | 228 | make -j6 |
| | 229 | }}} |
| | 230 | |
| | 231 | Results are again in in the ''imports'' folder. Even the importa statement is the same: |
| | 232 | {{{ |
| | 233 | import com.nokia.android 1.1 |
| | 234 | }}} |