aboutsummaryrefslogtreecommitdiffstats
path: root/examples/androidextras/customactivity/customactivity.pro
blob: 5c5b1e86edf733aeddf4ecf7f79381e7cca03d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
QT += quick androidextras

DEFINES += QT_DEPRECATED_WARNINGS

CONFIG += c++11

HEADERS += \
    activityhandler.h

SOURCES += \
        activityhandler.cpp \
        main.cpp

RESOURCES += qml.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/androidextras/customactivity
INSTALLS += target

android {
    DISTFILES += \
        android/AndroidManifest.xml \
        android/src/org/qtproject/example/activityhandler/CustomActivity.java \
        android/res/layout/second_activity.xml \
        android/res/values/strings.xml

    ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
}