summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tools')
-rw-r--r--examples/widgets/tools/plugandpaint/CMakeLists.txt3
-rw-r--r--examples/widgets/tools/styleplugin/.prev_CMakeLists.txt4
2 files changed, 7 insertions, 0 deletions
diff --git a/examples/widgets/tools/plugandpaint/CMakeLists.txt b/examples/widgets/tools/plugandpaint/CMakeLists.txt
index 2bde4718b2..4e35d0d0c3 100644
--- a/examples/widgets/tools/plugandpaint/CMakeLists.txt
+++ b/examples/widgets/tools/plugandpaint/CMakeLists.txt
@@ -1,4 +1,7 @@
# Generated from plugandpaint.pro.
+if(NOT QT_FEATURE_inputdialog)
+ return()
+endif()
add_subdirectory(plugins)
add_subdirectory(app)
diff --git a/examples/widgets/tools/styleplugin/.prev_CMakeLists.txt b/examples/widgets/tools/styleplugin/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..630c3703f8
--- /dev/null
+++ b/examples/widgets/tools/styleplugin/.prev_CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from styleplugin.pro.
+
+add_subdirectory(stylewindow)
+add_subdirectory(plugin)