summaryrefslogtreecommitdiffstats
path: root/examples/widgets/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/widgets')
-rw-r--r--examples/widgets/widgets/stylesheet/CMakeLists.txt4
-rw-r--r--examples/widgets/widgets/validators/CMakeLists.txt2
2 files changed, 5 insertions, 1 deletions
diff --git a/examples/widgets/widgets/stylesheet/CMakeLists.txt b/examples/widgets/widgets/stylesheet/CMakeLists.txt
index dfb52a1a47..227eb13b68 100644
--- a/examples/widgets/widgets/stylesheet/CMakeLists.txt
+++ b/examples/widgets/widgets/stylesheet/CMakeLists.txt
@@ -12,8 +12,10 @@ add_qt_executable(stylesheet
main.cpp
mainwindow.cpp mainwindow.h mainwindow.ui
stylesheeteditor.cpp stylesheeteditor.h stylesheeteditor.ui
- LIBRARIES
+ PUBLIC_LIBRARIES
Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
)
# Resources:
diff --git a/examples/widgets/widgets/validators/CMakeLists.txt b/examples/widgets/widgets/validators/CMakeLists.txt
index 9da1da775e..ef981d9eb7 100644
--- a/examples/widgets/widgets/validators/CMakeLists.txt
+++ b/examples/widgets/widgets/validators/CMakeLists.txt
@@ -16,6 +16,8 @@ add_qt_executable(validators
validatorwidget.cpp validatorwidget.h
PUBLIC_LIBRARIES
Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
)
# Resources: