close
Warning:
AdminModule failed with TracError: Unable to instantiate component <class 'trac.ticket.admin.ComponentAdminPanel'> (super(type, obj): obj must be an instance or subtype of type)
- Timestamp:
-
Jan 15, 2013, 2:03:25 PM (13 years ago)
- Author:
-
Martin Kolman
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v23
|
v24
|
|
| 167 | 167 | }}} |
| 168 | 168 | |
| 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 | | |
| | 169 | I'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. |
| 171 | 170 | |
| 172 | 171 | ==== Compiling Qt Components with Necessitas ==== |
| … |
… |
|
| 175 | 174 | {{{ |
| 176 | 175 | git clone git://gitorious.org/~brcha/qt-components/qt-components-android.git |
| | 176 | cd qt-components-android |
| 177 | 177 | checkout android-master-stable |
| 178 | 178 | }}} |
| … |
… |
|
| 181 | 181 | |
| 182 | 182 | {{{ |
| 183 | | |
| 184 | 183 | export ANDROID_NDK_ROOT=<path to folder with the Necessitas SDK>/necessitas/android-ndk |
| 185 | 184 | export ANDROID_TARGET_ARCH=armeabi |
| … |
… |
|
| 200 | 199 | }}} |
| 201 | 200 | |
| 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 | }}} |
| 203 | 235 | |
| 204 | 236 | ==== Qt Components Theme ==== |