summaryrefslogtreecommitdiffstats
path: root/examples/widgets/touch
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/touch')
-rw-r--r--examples/widgets/touch/CMakeLists.txt6
-rw-r--r--examples/widgets/touch/dials/CMakeLists.txt16
-rw-r--r--examples/widgets/touch/fingerpaint/CMakeLists.txt25
-rw-r--r--examples/widgets/touch/knobs/CMakeLists.txt16
-rw-r--r--examples/widgets/touch/pinchzoom/CMakeLists.txt22
5 files changed, 85 insertions, 0 deletions
diff --git a/examples/widgets/touch/CMakeLists.txt b/examples/widgets/touch/CMakeLists.txt
new file mode 100644
index 0000000000..06b72cada7
--- /dev/null
+++ b/examples/widgets/touch/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Generated from touch.pro.
+
+add_subdirectory(pinchzoom)
+add_subdirectory(fingerpaint)
+add_subdirectory(knobs)
+add_subdirectory(dials)
diff --git a/examples/widgets/touch/dials/CMakeLists.txt b/examples/widgets/touch/dials/CMakeLists.txt
new file mode 100644
index 0000000000..0266bc4e3b
--- /dev/null
+++ b/examples/widgets/touch/dials/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from dials.pro.
+
+#####################################################################
+## dials Binary:
+#####################################################################
+
+add_qt_executable(dials
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/dials"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/dials"
+ SOURCES
+ dials.ui
+ main.cpp
+ LIBRARIES
+ Qt::Widgets
+)
diff --git a/examples/widgets/touch/fingerpaint/CMakeLists.txt b/examples/widgets/touch/fingerpaint/CMakeLists.txt
new file mode 100644
index 0000000000..82ec8cd91e
--- /dev/null
+++ b/examples/widgets/touch/fingerpaint/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from fingerpaint.pro.
+
+#####################################################################
+## fingerpaint Binary:
+#####################################################################
+
+add_qt_executable(fingerpaint
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/fingerpaint"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/fingerpaint"
+ SOURCES
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ scribblearea.cpp scribblearea.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+## Scopes:
+#####################################################################
+
+extend_target(fingerpaint CONDITION TARGET Qt::PrintSupport
+ LIBRARIES
+ Qt::PrintSupport
+)
diff --git a/examples/widgets/touch/knobs/CMakeLists.txt b/examples/widgets/touch/knobs/CMakeLists.txt
new file mode 100644
index 0000000000..e8976db270
--- /dev/null
+++ b/examples/widgets/touch/knobs/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from knobs.pro.
+
+#####################################################################
+## knobs Binary:
+#####################################################################
+
+add_qt_executable(knobs
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/knobs"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/knobs"
+ SOURCES
+ knob.cpp knob.h
+ main.cpp
+ LIBRARIES
+ Qt::Widgets
+)
diff --git a/examples/widgets/touch/pinchzoom/CMakeLists.txt b/examples/widgets/touch/pinchzoom/CMakeLists.txt
new file mode 100644
index 0000000000..92d7b4c3b3
--- /dev/null
+++ b/examples/widgets/touch/pinchzoom/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from pinchzoom.pro.
+
+#####################################################################
+## pinchzoom Binary:
+#####################################################################
+
+add_qt_executable(pinchzoom
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/pinchzoom"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/touch/pinchzoom"
+ SOURCES
+ graphicsview.cpp graphicsview.h
+ main.cpp
+ mouse.cpp mouse.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(pinchzoom "mice" PREFIX "/" FILES
+ images/cheese.jpg)
+