From bed1d5dbf508d5ba62ce4f20c325c0004e9d6cdc Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 16 Mar 2022 14:40:49 +0100 Subject: [PATCH] QmlDesigner: Fix cmake template for Android Task-number: QDS-6420 Change-Id: Iac4286b20d763debef082b48e266da121c43ff4b Reviewed-by: Thomas Hartmann --- .../studio_templates/projects/common/CMakeLists.main.txt.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/studio_templates/projects/common/CMakeLists.main.txt.tpl b/share/qtcreator/qmldesigner/studio_templates/projects/common/CMakeLists.main.txt.tpl index 6221e10ea61..a9e002ccfe2 100644 --- a/share/qtcreator/qmldesigner/studio_templates/projects/common/CMakeLists.main.txt.tpl +++ b/share/qtcreator/qmldesigner/studio_templates/projects/common/CMakeLists.main.txt.tpl @@ -6,7 +6,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) find_package(Qt6 COMPONENTS Gui Qml Quick) -add_executable(%{ProjectExecutableName} src/main.cpp) +qt_add_executable(%{ProjectExecutableName} src/main.cpp) qt_add_resources(%{ProjectExecutableName} "configuration" PREFIX "/"