Skip to content

Android Application Launch Notes

David Hirvonen edited this page Dec 31, 2015 · 4 revisions

List available targets for a known toolchain, such as android-ndk-r10e-api-19-armeabi-v7a-neon:

grep -o -e "^.*-apk:" _builds/android-ndk-r10e-api-19-armeabi-v7a-neon-Release/Makefile

Output:

qt-camera-apk:
declarative-camera-apk:
qmlvideofilter-apk:
preview-qt-apk:

After building...

./bin/build-android.sh

We actually end up with an application called QtApp-release-unsigned.apk, which we can run from the command line with an included bash utility like this...

./bin/launch_apk.sh _builds/android-ndk-r10e-api-19-armeabi-v7a-neon-Release/src/app/qmlvideofilter/bin/QtApp-debug.apk

You can also launch applications by specifying a --target option to the polly build.py utility. This might look something like this:

build.py --toolchain android-ndk-r10e-api-19-armeabi-v7a-neon --verbose --fwd ANDROID=TRUE HUNTER_CONFIGURATION_TYPES=Release BUILD_QT=ON --config Release --jobs 8 --target qmlvideofilter-apk
Clone this wiki locally