summaryrefslogtreecommitdiffstats
path: root/src/tools/androiddeployqt/androiddeployqt.pro
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2018-06-13 15:52:59 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2018-06-21 11:08:57 +0000
commit6af262b6d76ba5dc6d1fa7d7abea460039fea6b9 (patch)
treed685919fea3780300b47533e7bbc3d452c84fadb /src/tools/androiddeployqt/androiddeployqt.pro
parent9f8938b89a67ff8da148b7b865576a3d5584c610 (diff)
Move androiddeployqt to qtbase
androiddeploytqt is the only official way of deploying applications to the device, so it is therefore part of the "platform". It therefore needs to live in qtbase. Change-Id: I52d7c4427275aacec792b71284a0c10edaf7ab69 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/tools/androiddeployqt/androiddeployqt.pro')
-rw-r--r--src/tools/androiddeployqt/androiddeployqt.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tools/androiddeployqt/androiddeployqt.pro b/src/tools/androiddeployqt/androiddeployqt.pro
new file mode 100644
index 0000000000..2d0f5b41d1
--- /dev/null
+++ b/src/tools/androiddeployqt/androiddeployqt.pro
@@ -0,0 +1,14 @@
+option(host_build)
+CONFIG += console
+
+SOURCES += \
+ main.cpp
+
+# Required for declarations of popen/pclose on Windows
+windows: QMAKE_CXXFLAGS += -U__STRICT_ANSI__
+
+DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
+DEFINES += QT_NO_FOREACH
+
+load(qt_app)
+