From 78d6f6f57db1f95e3c912dbf3ee74496948c29bc Mon Sep 17 00:00:00 2001 From: Axel Spoerl Date: Thu, 19 Jan 2023 08:53:19 +0100 Subject: [PATCH] Fix CMakeLists.txt of Style Plugin Example (broken on macOS) Add TARGET instruction in property setter, used in debug mode on macOS. Task-number: QTBUG-107842 Task-number: QTBUG-109227 Change-Id: I8704b7009c36ea8ddbf8773abfaf2b5f34f728ac Reviewed-by: Alexandru Croitor (cherry picked from commit 2ae75c2e6a49e84aa10691520752e340a4855b79) Reviewed-by: Amir Masoud Abdol --- examples/widgets/tools/styleplugin/plugin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt index b82d3ab065d..494a4a90f6a 100644 --- a/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt +++ b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt @@ -10,7 +10,7 @@ qt_add_plugin(simplestyleplugin #! [0] if(QT_FEATURE_debug AND APPLE) - set_property(simplestyleplugin + set_property(TARGET simplestyleplugin APPEND_STRING PROPERTY OUTPUT_NAME "_debug") endif()