6d50f746fe
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. This commit enables the possibility to build embedded Android builds. (i.e. Qt build for Android baselayer only, without JNI) Change-Id: I8406e959fdf1c8d9efebbbe53f1a391fa25f336a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
19 lines
350 B
Prolog
19 lines
350 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qdirmodel
|
|
QT += widgets testlib
|
|
SOURCES += tst_qdirmodel.cpp
|
|
|
|
INCLUDEPATH += ../../../../shared/
|
|
HEADERS += ../../../../shared/emulationdetector.h
|
|
|
|
android {
|
|
DEFINES += SRCDIR=\\\"./\\\"
|
|
} else {
|
|
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|
|
}
|
|
|
|
android:!android-embedded {
|
|
RESOURCES += \
|
|
testdata.qrc
|
|
}
|