summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2023-01-19 08:53:19 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2023-01-19 10:50:04 +0000
commit2ae75c2e6a49e84aa10691520752e340a4855b79 (patch)
treef27128ccedf7ec94260ffd715ba05ab2c448cee2 /examples/widgets/tools
parent41ab4c2f55be6070346d1b85558c896903ba448b (diff)
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 <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/tools')
-rw-r--r--examples/widgets/tools/styleplugin/plugin/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt
index b82d3ab065..494a4a90f6 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()