From 2eb2aa13ae38dae6189531d87ac72d5062e60b96 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Mon, 19 Dec 2022 13:19:08 +0100 Subject: [PATCH] Qml2Puppet: Fix configuration when qml2puppet is disabled Setting a property on a non existing target is a no go. The changed done in 5b6bf2914382696176ad664b7548dee1fd44f239 got somehow removed by 036948c6286cc01d8e3bbf0e594dc0bc5358e43b Change-Id: Id6d09b27817fa2c1f2c2c13127994710f5a2981a Reviewed-by: Eike Ziller --- src/tools/qml2puppet/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/qml2puppet/CMakeLists.txt b/src/tools/qml2puppet/CMakeLists.txt index 074099be894..270f1ca58c2 100644 --- a/src/tools/qml2puppet/CMakeLists.txt +++ b/src/tools/qml2puppet/CMakeLists.txt @@ -37,10 +37,10 @@ add_qtc_executable(qml2puppet SOURCES qml2puppet/qml2puppetmain.cpp qmlpuppet.qrc + PROPERTIES + OUTPUT_NAME qml2puppet-${IDE_VERSION} ) -set_target_properties(qml2puppet PROPERTIES OUTPUT_NAME qml2puppet-${IDE_VERSION}) - extend_qtc_executable(qml2puppet CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.0.0 SOURCES