summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tools')
-rw-r--r--examples/widgets/tools/CMakeLists.txt20
-rw-r--r--examples/widgets/tools/codecs/CMakeLists.txt20
-rw-r--r--examples/widgets/tools/completer/CMakeLists.txt23
-rw-r--r--examples/widgets/tools/customcompleter/CMakeLists.txt22
-rw-r--r--examples/widgets/tools/echoplugin/CMakeLists.txt4
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt33
-rw-r--r--examples/widgets/tools/echoplugin/plugin/CMakeLists.txt22
-rw-r--r--examples/widgets/tools/i18n/CMakeLists.txt38
-rw-r--r--examples/widgets/tools/plugandpaint/CMakeLists.txt4
-rw-r--r--examples/widgets/tools/plugandpaint/app/CMakeLists.txt29
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/CMakeLists.txt4
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt29
-rw-r--r--examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt27
-rw-r--r--examples/widgets/tools/regexp/CMakeLists.txt16
-rw-r--r--examples/widgets/tools/regularexpression/CMakeLists.txt21
-rw-r--r--examples/widgets/tools/settingseditor/CMakeLists.txt22
-rw-r--r--examples/widgets/tools/styleplugin/CMakeLists.txt4
-rw-r--r--examples/widgets/tools/styleplugin/plugin/CMakeLists.txt32
-rw-r--r--examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt31
-rw-r--r--examples/widgets/tools/treemodelcompleter/CMakeLists.txt22
-rw-r--r--examples/widgets/tools/undo/CMakeLists.txt44
-rw-r--r--examples/widgets/tools/undoframework/CMakeLists.txt24
22 files changed, 491 insertions, 0 deletions
diff --git a/examples/widgets/tools/CMakeLists.txt b/examples/widgets/tools/CMakeLists.txt
new file mode 100644
index 0000000000..90ac6fe86f
--- /dev/null
+++ b/examples/widgets/tools/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from tools.pro.
+
+add_subdirectory(codecs)
+add_subdirectory(completer)
+add_subdirectory(customcompleter)
+if(QT_FEATURE_translation) # special case
+ add_subdirectory(i18n)
+endif()
+add_subdirectory(regexp)
+add_subdirectory(regularexpression)
+add_subdirectory(settingseditor)
+add_subdirectory(styleplugin)
+add_subdirectory(treemodelcompleter)
+add_subdirectory(undo)
+add_subdirectory(undoframework)
+
+if(QT_FEATURE_library) # special case
+ add_subdirectory(echoplugin)
+ add_subdirectory(plugandpaint)
+endif()
diff --git a/examples/widgets/tools/codecs/CMakeLists.txt b/examples/widgets/tools/codecs/CMakeLists.txt
new file mode 100644
index 0000000000..fbf2e4e1a0
--- /dev/null
+++ b/examples/widgets/tools/codecs/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from codecs.pro.
+
+#####################################################################
+## codecs Binary:
+#####################################################################
+
+add_qt_executable(codecs
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/codecs"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/codecs"
+ SOURCES
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ previewform.cpp previewform.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:codecs.pro:<NONE>:
+# EXAMPLE_FILES = "encodedfiles"
diff --git a/examples/widgets/tools/completer/CMakeLists.txt b/examples/widgets/tools/completer/CMakeLists.txt
new file mode 100644
index 0000000000..b39b4f262d
--- /dev/null
+++ b/examples/widgets/tools/completer/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from completer.pro.
+
+#####################################################################
+## completer Binary:
+#####################################################################
+
+add_qt_executable(completer
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/completer"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/completer"
+ SOURCES
+ fsmodel.cpp fsmodel.h
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(completer "completer" PREFIX "/" FILES
+ resources/countries.txt
+ resources/wordlist.txt)
+
diff --git a/examples/widgets/tools/customcompleter/CMakeLists.txt b/examples/widgets/tools/customcompleter/CMakeLists.txt
new file mode 100644
index 0000000000..04f8035ff3
--- /dev/null
+++ b/examples/widgets/tools/customcompleter/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from customcompleter.pro.
+
+#####################################################################
+## customcompleter Binary:
+#####################################################################
+
+add_qt_executable(customcompleter
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/customcompleter"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/customcompleter"
+ SOURCES
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ textedit.cpp textedit.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(customcompleter "customcompleter" PREFIX "/" FILES
+ resources/wordlist.txt)
+
diff --git a/examples/widgets/tools/echoplugin/CMakeLists.txt b/examples/widgets/tools/echoplugin/CMakeLists.txt
new file mode 100644
index 0000000000..b848e08e72
--- /dev/null
+++ b/examples/widgets/tools/echoplugin/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from echoplugin.pro.
+
+add_subdirectory(echowindow)
+add_subdirectory(plugin)
diff --git a/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt
new file mode 100644
index 0000000000..3c9082db07
--- /dev/null
+++ b/examples/widgets/tools/echoplugin/echowindow/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Generated from echowindow.pro.
+
+#####################################################################
+## echoplugin Binary:
+#####################################################################
+
+add_qt_executable(echoplugin
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/echoplugin"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/echoplugin"
+ SOURCES
+ echointerface.h
+ echowindow.cpp echowindow.h
+ main.cpp
+ LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:echowindow.pro:<NONE>:
+# CONFIG = "install_ok"
+# QMAKE_PROJECT_NAME = "echopluginwindow"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:echowindow.pro:CONFIG(debug,release OR debug):
+# DESTDIR = "../debug/"
+
+#### Keys ignored in scope 4:.:echowindow.pro:CONFIG(release,release OR debug):
+# DESTDIR = "../release/"
+
+#### Keys ignored in scope 5:.:echowindow.pro:else:
+# DESTDIR = "../"
diff --git a/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt
new file mode 100644
index 0000000000..7250a7e0a6
--- /dev/null
+++ b/examples/widgets/tools/echoplugin/plugin/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from plugin.pro.
+
+#####################################################################
+## qtLibraryTargetechoplugin Module:
+#####################################################################
+
+add_qt_plugin(echoplugin_plugin TYPE plugin # special case
+ SOURCES
+ echoplugin.cpp echoplugin.h
+ INCLUDE_DIRECTORIES
+ ../echowindow
+ LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:plugin.pro:<NONE>:
+# CONFIG = "plugin" "install_ok"
+# DESTDIR = "../plugins"
+# EXAMPLE_FILES = "echoplugin.json"
+# INSTALLS = "target"
+# TEMPLATE = "lib"
+# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin/plugins"
diff --git a/examples/widgets/tools/i18n/CMakeLists.txt b/examples/widgets/tools/i18n/CMakeLists.txt
new file mode 100644
index 0000000000..033362bb4c
--- /dev/null
+++ b/examples/widgets/tools/i18n/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from i18n.pro.
+
+#####################################################################
+## i18n Binary:
+#####################################################################
+
+add_qt_executable(i18n
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/i18n"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/i18n"
+ SOURCES
+ languagechooser.cpp languagechooser.h
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(i18n "i18n" FILES
+ translations/i18n_ar.qm
+ translations/i18n_cs.qm
+ translations/i18n_de.qm
+ translations/i18n_el.qm
+ translations/i18n_en.qm
+ translations/i18n_eo.qm
+ translations/i18n_fr.qm
+ translations/i18n_it.qm
+ translations/i18n_jp.qm
+ translations/i18n_ko.qm
+ translations/i18n_no.qm
+ translations/i18n_ru.qm
+ translations/i18n_sv.qm
+ translations/i18n_zh.qm)
+
+
+#### Keys ignored in scope 1:.:i18n.pro:<NONE>:
+# TRANSLATIONS = "translations/i18n_ar.ts" "translations/i18n_cs.ts" "translations/i18n_de.ts" "translations/i18n_el.ts" "translations/i18n_en.ts" "translations/i18n_eo.ts" "translations/i18n_fr.ts" "translations/i18n_it.ts" "translations/i18n_jp.ts" "translations/i18n_ko.ts" "translations/i18n_no.ts" "translations/i18n_ru.ts" "translations/i18n_sv.ts" "translations/i18n_zh.ts"
diff --git a/examples/widgets/tools/plugandpaint/CMakeLists.txt b/examples/widgets/tools/plugandpaint/CMakeLists.txt
new file mode 100644
index 0000000000..2bde4718b2
--- /dev/null
+++ b/examples/widgets/tools/plugandpaint/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from plugandpaint.pro.
+
+add_subdirectory(plugins)
+add_subdirectory(app)
diff --git a/examples/widgets/tools/plugandpaint/app/CMakeLists.txt b/examples/widgets/tools/plugandpaint/app/CMakeLists.txt
new file mode 100644
index 0000000000..e5bbbacec2
--- /dev/null
+++ b/examples/widgets/tools/plugandpaint/app/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from app.pro.
+
+#####################################################################
+## plugandpaint Binary:
+#####################################################################
+
+add_qt_executable(plugandpaint
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/plugandpaint"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/plugandpaint"
+ SOURCES
+ interfaces.h
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ paintarea.cpp paintarea.h
+ plugindialog.cpp plugindialog.h
+ LIBRARIES
+ Qt::Widgets
+ pnp_basictools # special case
+)
+
+#### Keys ignored in scope 1:.:app.pro:<NONE>:
+# CONFIG = "install_ok"
+# DESTDIR = ".."
+
+## Scopes:
+#####################################################################
+
+# special case: Remove the rest
diff --git a/examples/widgets/tools/plugandpaint/plugins/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/CMakeLists.txt
new file mode 100644
index 0000000000..1e63da97ca
--- /dev/null
+++ b/examples/widgets/tools/plugandpaint/plugins/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from plugins.pro.
+
+add_subdirectory(basictools)
+add_subdirectory(extrafilters)
diff --git a/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt
new file mode 100644
index 0000000000..f736d09d41
--- /dev/null
+++ b/examples/widgets/tools/plugandpaint/plugins/basictools/CMakeLists.txt
@@ -0,0 +1,29 @@
+# Generated from basictools.pro.
+
+#####################################################################
+## qtLibraryTargetpnp_basictools Module:
+#####################################################################
+
+add_qt_plugin(pnp_basictools # special case
+ STATIC # special case
+ OUTPUT_DIRECTORY ../../plugins # special case
+ INSTALL_DIRECTORY ../../plugins # special case
+ SOURCES
+ basictoolsplugin.cpp basictoolsplugin.h
+ INCLUDE_DIRECTORIES
+ ../../app
+ LIBRARIES
+ Qt::Widgets
+)
+
+# CONFIG = "plugin" "static" "install_ok"
+# DESTDIR = "../../plugins"
+# INSTALLS = "target"
+# TEMPLATE = "lib"
+# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:basictools.pro:APPLE_UIKIT:
+# CONFIG = "debug_and_release"
diff --git a/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt b/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt
new file mode 100644
index 0000000000..a0447c833e
--- /dev/null
+++ b/examples/widgets/tools/plugandpaint/plugins/extrafilters/CMakeLists.txt
@@ -0,0 +1,27 @@
+# Generated from extrafilters.pro.
+
+#####################################################################
+## qtLibraryTargetpnp_extrafilters Module:
+#####################################################################
+
+add_qt_plugin(pnp_extrafilters_plugin TYPE plugin # special case
+ SOURCES
+ extrafiltersplugin.cpp extrafiltersplugin.h
+ INCLUDE_DIRECTORIES
+ ../../app
+ LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:extrafilters.pro:<NONE>:
+# CONFIG = "plugin" "install_ok"
+# DESTDIR = "../../plugins"
+# INSTALLS = "target"
+# TEMPLATE = "lib"
+# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:extrafilters.pro:APPLE_UIKIT:
+# CONFIG = "debug_and_release"
diff --git a/examples/widgets/tools/regexp/CMakeLists.txt b/examples/widgets/tools/regexp/CMakeLists.txt
new file mode 100644
index 0000000000..da729f5f5b
--- /dev/null
+++ b/examples/widgets/tools/regexp/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from regexp.pro.
+
+#####################################################################
+## regexp Binary:
+#####################################################################
+
+add_qt_executable(regexp
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/regexp"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/regexp"
+ SOURCES
+ main.cpp
+ regexpdialog.cpp regexpdialog.h
+ LIBRARIES
+ Qt::Widgets
+)
diff --git a/examples/widgets/tools/regularexpression/CMakeLists.txt b/examples/widgets/tools/regularexpression/CMakeLists.txt
new file mode 100644
index 0000000000..e9dcb977a2
--- /dev/null
+++ b/examples/widgets/tools/regularexpression/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from regularexpression.pro.
+
+#####################################################################
+## regularexpression Binary:
+#####################################################################
+
+add_qt_executable(regularexpression
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/regularexpression"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/regularexpression"
+ SOURCES
+ main.cpp
+ regularexpressiondialog.cpp regularexpressiondialog.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(regularexpression "regularexpression" FILES
+ images/copy.png)
+
diff --git a/examples/widgets/tools/settingseditor/CMakeLists.txt b/examples/widgets/tools/settingseditor/CMakeLists.txt
new file mode 100644
index 0000000000..ce260da358
--- /dev/null
+++ b/examples/widgets/tools/settingseditor/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from settingseditor.pro.
+
+#####################################################################
+## settingseditor Binary:
+#####################################################################
+
+add_qt_executable(settingseditor
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/settingseditor"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/settingseditor"
+ SOURCES
+ locationdialog.cpp locationdialog.h
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ settingstree.cpp settingstree.h
+ variantdelegate.cpp variantdelegate.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:settingseditor.pro:<NONE>:
+# EXAMPLE_FILES = "inifiles"
diff --git a/examples/widgets/tools/styleplugin/CMakeLists.txt b/examples/widgets/tools/styleplugin/CMakeLists.txt
new file mode 100644
index 0000000000..630c3703f8
--- /dev/null
+++ b/examples/widgets/tools/styleplugin/CMakeLists.txt
@@ -0,0 +1,4 @@
+# Generated from styleplugin.pro.
+
+add_subdirectory(stylewindow)
+add_subdirectory(plugin)
diff --git a/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt
new file mode 100644
index 0000000000..c311799d30
--- /dev/null
+++ b/examples/widgets/tools/styleplugin/plugin/CMakeLists.txt
@@ -0,0 +1,32 @@
+# Generated from plugin.pro.
+
+#####################################################################
+## mplestyleplugin Module:
+#####################################################################
+
+add_qt_plugin(simplestyleplugin TYPE style # special case
+ SOURCES
+ simplestyle.cpp simplestyle.h
+ simplestyleplugin.cpp simplestyleplugin.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:plugin.pro:<NONE>:
+# CONFIG = "plugin" "install_ok"
+# EXAMPLE_FILES = "simplestyle.json"
+# INSTALLS = "target"
+# TEMPLATE = "lib"
+# target.path = "$$[QT_INSTALL_EXAMPLES]/widgets/tools/styleplugin/styles"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:plugin.pro:CONFIG(debug,release OR debug):
+# DESTDIR = "../debug/styles/"
+
+#### Keys ignored in scope 4:.:plugin.pro:CONFIG(release,release OR debug):
+# DESTDIR = "../release/styles/"
+
+#### Keys ignored in scope 5:.:plugin.pro:else:
+# DESTDIR = "../styles/"
diff --git a/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt b/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt
new file mode 100644
index 0000000000..a6d6a56874
--- /dev/null
+++ b/examples/widgets/tools/styleplugin/stylewindow/CMakeLists.txt
@@ -0,0 +1,31 @@
+# Generated from stylewindow.pro.
+
+#####################################################################
+## styleplugin Binary:
+#####################################################################
+
+add_qt_executable(styleplugin
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/styleplugin"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/styleplugin"
+ SOURCES
+ main.cpp
+ stylewindow.cpp stylewindow.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:stylewindow.pro:<NONE>:
+# CONFIG = "install_ok"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 3:.:stylewindow.pro:debug:
+# DESTDIR = "../debug/"
+
+#### Keys ignored in scope 4:.:stylewindow.pro:release:
+# DESTDIR = "../release/"
+
+#### Keys ignored in scope 5:.:stylewindow.pro:else:
+# DESTDIR = "../"
diff --git a/examples/widgets/tools/treemodelcompleter/CMakeLists.txt b/examples/widgets/tools/treemodelcompleter/CMakeLists.txt
new file mode 100644
index 0000000000..ab4d60f290
--- /dev/null
+++ b/examples/widgets/tools/treemodelcompleter/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from treemodelcompleter.pro.
+
+#####################################################################
+## treemodelcompleter Binary:
+#####################################################################
+
+add_qt_executable(treemodelcompleter
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/treemodelcompleter"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/treemodelcompleter"
+ SOURCES
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ treemodelcompleter.cpp treemodelcompleter.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(treemodelcompleter "treemodelcompleter" PREFIX "/" FILES
+ resources/treemodel.txt)
+
diff --git a/examples/widgets/tools/undo/CMakeLists.txt b/examples/widgets/tools/undo/CMakeLists.txt
new file mode 100644
index 0000000000..751026bd62
--- /dev/null
+++ b/examples/widgets/tools/undo/CMakeLists.txt
@@ -0,0 +1,44 @@
+# Generated from undo.pro.
+
+#####################################################################
+## undo Binary:
+#####################################################################
+
+add_qt_executable(undo
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undo"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undo"
+ SOURCES
+ commands.cpp commands.h
+ document.cpp document.h
+ main.cpp
+ mainwindow.cpp mainwindow.h mainwindow.ui
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(undo "undo" PREFIX "/" FILES
+ icons/background.png
+ icons/blue.png
+ icons/circle.png
+ icons/exit.png
+ icons/fileclose.png
+ icons/filenew.png
+ icons/fileopen.png
+ icons/filesave.png
+ icons/green.png
+ icons/ok.png
+ icons/rectangle.png
+ icons/red.png
+ icons/redo.png
+ icons/remove.png
+ icons/triangle.png
+ icons/undo.png)
+
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:undo.pro:build_all AND NOT build_pass:
+# CONFIG = "-build_all" "release"
diff --git a/examples/widgets/tools/undoframework/CMakeLists.txt b/examples/widgets/tools/undoframework/CMakeLists.txt
new file mode 100644
index 0000000000..0689d0df08
--- /dev/null
+++ b/examples/widgets/tools/undoframework/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from undoframework.pro.
+
+#####################################################################
+## undoframework Binary:
+#####################################################################
+
+add_qt_executable(undoframework
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undoframework"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undoframework"
+ SOURCES
+ commands.cpp commands.h
+ diagramitem.cpp diagramitem.h
+ diagramscene.cpp diagramscene.h
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(undoframework "undoframework" FILES
+ images/cross.png)
+