[Android-development] Qt Creator 2.7 and setting up Android

Daniel Teske daniel.teske at digia.com
Wed Feb 20 16:44:55 CET 2013


Hi,

I just finished implementing the "automatic kit creation" for Android:
https://codereview.qt-project.org/48495

Which is yet to be reviewed and pushed, that should happen soon though.

After the patch is submitted Creator will automatically create Kits if the NDK 
path and suitable Android qt versions[1] are available. 

Setting up a standalone Creator becomes just those two steps:
a) Go to the Android settings page, configure ndk and sdk path
b) Add your android qt version on the Build & Run/Qt versions page

For the sdk, one or both settings can be set via the sdktool at installation 
time. Use these commands in the installer:
sdktool addKeys android SDKLocation QString:/path/android-sdk
sdktool addKeys android NDKLocation QString:/path/android-sdk

and
sdktool addQt --id Android.Qt5 --name "displayName" --qmake /path/qmake --type 
Qt4ProjectManager.QtVersion.Android

daniel

[1] Due to a bug in the android qtversion, this only works correctly for arm. 



More information about the Android-development mailing list