aboutsummaryrefslogtreecommitdiffstats
path: root/examples/androidextras/customactivity/customactivity.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/androidextras/customactivity/customactivity.pro')
-rw-r--r--examples/androidextras/customactivity/customactivity.pro27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/androidextras/customactivity/customactivity.pro b/examples/androidextras/customactivity/customactivity.pro
new file mode 100644
index 0000000..5c5b1e8
--- /dev/null
+++ b/examples/androidextras/customactivity/customactivity.pro
@@ -0,0 +1,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
+}