summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-30 15:48:28 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-31 12:55:33 +0200
commite755ce99d97be26f11c4b49d2a354c464d15dcab (patch)
tree2718b9742f58471c82b7988935f58fc649eed52a /src/tools
parentd65283ebd01c221d0f03a2873c19dc3723de536c (diff)
CMake: Regenerate load(qt_app) projects
To use the new qt_internal_add_app function. Change-Id: I9776ce18c3a8b01f1a42e8da346cfd0a98374ef8 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/androiddeployqt/.prev_CMakeLists.txt7
-rw-r--r--src/tools/androiddeployqt/CMakeLists.txt7
-rw-r--r--src/tools/androidtestrunner/CMakeLists.txt7
3 files changed, 15 insertions, 6 deletions
diff --git a/src/tools/androiddeployqt/.prev_CMakeLists.txt b/src/tools/androiddeployqt/.prev_CMakeLists.txt
index e445201b82..bb644c6fc1 100644
--- a/src/tools/androiddeployqt/.prev_CMakeLists.txt
+++ b/src/tools/androiddeployqt/.prev_CMakeLists.txt
@@ -1,10 +1,10 @@
# Generated from androiddeployqt.pro.
#####################################################################
-## androiddeployqt Binary:
+## androiddeployqt App:
#####################################################################
-qt_add_executable(androiddeployqt
+qt_internal_add_app(androiddeployqt
SOURCES
main.cpp
DEFINES
@@ -14,6 +14,9 @@ qt_add_executable(androiddeployqt
PUBLIC_LIBRARIES
Qt::Gui
)
+set_target_properties(androiddeployqt PROPERTIES
+ WIN32_EXECUTABLE FALSE
+)
#### Keys ignored in scope 1:.:.:androiddeployqt.pro:<TRUE>:
# _OPTION = "host_build"
diff --git a/src/tools/androiddeployqt/CMakeLists.txt b/src/tools/androiddeployqt/CMakeLists.txt
index d47e10efd2..0a0886fc75 100644
--- a/src/tools/androiddeployqt/CMakeLists.txt
+++ b/src/tools/androiddeployqt/CMakeLists.txt
@@ -1,10 +1,10 @@
# Generated from androiddeployqt.pro.
#####################################################################
-## androiddeployqt Binary:
+## androiddeployqt App:
#####################################################################
-qt_add_executable(androiddeployqt
+qt_internal_add_app(androiddeployqt
SOURCES
main.cpp
DEFINES
@@ -14,6 +14,9 @@ qt_add_executable(androiddeployqt
PUBLIC_LIBRARIES
Qt::Core # special case
)
+set_target_properties(androiddeployqt PROPERTIES
+ WIN32_EXECUTABLE FALSE
+)
#### Keys ignored in scope 1:.:.:androiddeployqt.pro:<TRUE>:
# _OPTION = "host_build"
diff --git a/src/tools/androidtestrunner/CMakeLists.txt b/src/tools/androidtestrunner/CMakeLists.txt
index d7ec4a66fa..17cf825869 100644
--- a/src/tools/androidtestrunner/CMakeLists.txt
+++ b/src/tools/androidtestrunner/CMakeLists.txt
@@ -1,10 +1,10 @@
# Generated from androidtestrunner.pro.
#####################################################################
-## androidtestrunner Binary:
+## androidtestrunner App:
#####################################################################
-qt_add_executable(androidtestrunner
+qt_internal_add_app(androidtestrunner
SOURCES
main.cpp
DEFINES
@@ -14,6 +14,9 @@ qt_add_executable(androidtestrunner
PUBLIC_LIBRARIES
Qt::Gui
)
+set_target_properties(androidtestrunner PROPERTIES
+ WIN32_EXECUTABLE FALSE
+)
#### Keys ignored in scope 1:.:.:androidtestrunner.pro:<TRUE>:
# _OPTION = "host_build"