summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview')
-rw-r--r--examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt6
-rw-r--r--examples/widgets/graphicsview/padnavigator/CMakeLists.txt8
2 files changed, 9 insertions, 5 deletions
diff --git a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt
index d31e15102e..dda61e0f68 100644
--- a/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt
+++ b/examples/widgets/graphicsview/embeddeddialogs/CMakeLists.txt
@@ -12,8 +12,10 @@ add_qt_executable(embeddeddialogs
customproxy.cpp customproxy.h
embeddeddialog.cpp embeddeddialog.h embeddeddialog.ui
main.cpp
- LIBRARIES
+ PUBLIC_LIBRARIES
Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
)
# Resources:
@@ -24,5 +26,5 @@ add_qt_resource(embeddeddialogs "embeddeddialogs" FILES
## Scopes:
#####################################################################
-#### Keys ignored in scope 2:.:embeddeddialogs.pro:build_all AND NOT build_pass:
+#### Keys ignored in scope 2:.:.:embeddeddialogs.pro:build_all AND NOT build_pass:
# CONFIG = "-build_all" "release"
diff --git a/examples/widgets/graphicsview/padnavigator/CMakeLists.txt b/examples/widgets/graphicsview/padnavigator/CMakeLists.txt
index ad879d3a8b..9c4282391e 100644
--- a/examples/widgets/graphicsview/padnavigator/CMakeLists.txt
+++ b/examples/widgets/graphicsview/padnavigator/CMakeLists.txt
@@ -14,8 +14,10 @@ add_qt_executable(padnavigator
padnavigator.cpp padnavigator.h
roundrectitem.cpp roundrectitem.h
splashitem.cpp splashitem.h
- LIBRARIES
+ PUBLIC_LIBRARIES
Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
)
# Resources:
@@ -31,13 +33,13 @@ add_qt_resource(padnavigator "padnavigator" FILES
images/minitools.png)
-#### Keys ignored in scope 1:.:padnavigator.pro:<NONE>:
+#### Keys ignored in scope 1:.:.:padnavigator.pro:<TRUE>:
# CONFIG = "console"
## Scopes:
#####################################################################
extend_target(padnavigator CONDITION TARGET Qt::OpenGL
- LIBRARIES
+ PUBLIC_LIBRARIES
Qt::OpenGL
)