From ca9ad4f3f6af2394b23dae288c1ef2b2faaa8141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Ryyn=C3=A4nen?= Date: Fri, 21 Apr 2017 15:49:30 +0300 Subject: Support for Q_OS_ANDROID_EMBEDDED and android-embedded builds The Embedded Android build (Boot to Qt Android injection) is defined by having both Q_OS_ANDROID and Q_OS_ANDROID_EMBEDDED flags defined, as well as having Qt config android-embedded. Those flags are set in mkspecs when building for embedded Android. This commit enables the possibility to build embedded Android builds. (i.e. Qt build for Android baselayer only, without JNI) Change-Id: I2ded43d7ed46a99ba70301f07a791ed4a148c6c0 Reviewed-by: Alex Blasche --- examples/nfc/corkboard/corkboard.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') diff --git a/examples/nfc/corkboard/corkboard.pro b/examples/nfc/corkboard/corkboard.pro index 9d1de4b3..858ac65d 100644 --- a/examples/nfc/corkboard/corkboard.pro +++ b/examples/nfc/corkboard/corkboard.pro @@ -13,7 +13,9 @@ OTHER_FILES += \ corkboards.qml \ Mode.qml +!android-embedded { ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android +} target.path = $$[QT_INSTALL_EXAMPLES]/nfc/corkboard INSTALLS += target -- cgit v1.2.3