summaryrefslogtreecommitdiffstats
path: root/examples/widgets/richtext
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/richtext')
-rw-r--r--examples/widgets/richtext/CMakeLists.txt6
-rw-r--r--examples/widgets/richtext/calendar/CMakeLists.txt16
-rw-r--r--examples/widgets/richtext/orderform/CMakeLists.txt25
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt17
-rw-r--r--examples/widgets/richtext/textedit/CMakeLists.txt75
5 files changed, 139 insertions, 0 deletions
diff --git a/examples/widgets/richtext/CMakeLists.txt b/examples/widgets/richtext/CMakeLists.txt
new file mode 100644
index 0000000000..adb98e38f9
--- /dev/null
+++ b/examples/widgets/richtext/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Generated from richtext.pro.
+
+add_subdirectory(calendar)
+add_subdirectory(orderform)
+add_subdirectory(syntaxhighlighter)
+add_subdirectory(textedit)
diff --git a/examples/widgets/richtext/calendar/CMakeLists.txt b/examples/widgets/richtext/calendar/CMakeLists.txt
new file mode 100644
index 0000000000..8d26479929
--- /dev/null
+++ b/examples/widgets/richtext/calendar/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from calendar.pro.
+
+#####################################################################
+## calendar Binary:
+#####################################################################
+
+add_qt_executable(calendar
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/calendar"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/calendar"
+ SOURCES
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ LIBRARIES
+ Qt::Widgets
+)
diff --git a/examples/widgets/richtext/orderform/CMakeLists.txt b/examples/widgets/richtext/orderform/CMakeLists.txt
new file mode 100644
index 0000000000..5f12e98cdf
--- /dev/null
+++ b/examples/widgets/richtext/orderform/CMakeLists.txt
@@ -0,0 +1,25 @@
+# Generated from orderform.pro.
+
+#####################################################################
+## orderform Binary:
+#####################################################################
+
+add_qt_executable(orderform
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/orderform"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/orderform"
+ SOURCES
+ detailsdialog.cpp detailsdialog.h
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+## Scopes:
+#####################################################################
+
+extend_target(orderform CONDITION TARGET Qt::PrintSupport
+ LIBRARIES
+ Qt::PrintSupport
+)
diff --git a/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt b/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt
new file mode 100644
index 0000000000..afffcc639b
--- /dev/null
+++ b/examples/widgets/richtext/syntaxhighlighter/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from syntaxhighlighter.pro.
+
+#####################################################################
+## syntaxhighlighter Binary:
+#####################################################################
+
+add_qt_executable(syntaxhighlighter
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/syntaxhighlighter"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/syntaxhighlighter"
+ SOURCES
+ highlighter.cpp highlighter.h
+ main.cpp
+ mainwindow.cpp mainwindow.h
+ LIBRARIES
+ Qt::Widgets
+)
diff --git a/examples/widgets/richtext/textedit/CMakeLists.txt b/examples/widgets/richtext/textedit/CMakeLists.txt
new file mode 100644
index 0000000000..9166f6748a
--- /dev/null
+++ b/examples/widgets/richtext/textedit/CMakeLists.txt
@@ -0,0 +1,75 @@
+# Generated from textedit.pro.
+
+#####################################################################
+## textedit Binary:
+#####################################################################
+
+add_qt_executable(textedit
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/textedit"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/textedit"
+ SOURCES
+ main.cpp
+ textedit.cpp textedit.h
+ LIBRARIES
+ Qt::Widgets
+)
+
+# Resources:
+add_qt_resource(textedit "textedit" PREFIX "/" FILES
+ example.html
+ images/logo32.png
+ images/mac/editcopy.png
+ images/mac/editcut.png
+ images/mac/editpaste.png
+ images/mac/editredo.png
+ images/mac/editundo.png
+ images/mac/exportpdf.png
+ images/mac/filenew.png
+ images/mac/fileopen.png
+ images/mac/fileprint.png
+ images/mac/filesave.png
+ images/mac/textbold.png
+ images/mac/textcenter.png
+ images/mac/textitalic.png
+ images/mac/textjustify.png
+ images/mac/textleft.png
+ images/mac/textright.png
+ images/mac/textunder.png
+ images/mac/zoomin.png
+ images/mac/zoomout.png
+ images/win/editcopy.png
+ images/win/editcut.png
+ images/win/editpaste.png
+ images/win/editredo.png
+ images/win/editundo.png
+ images/win/exportpdf.png
+ images/win/filenew.png
+ images/win/fileopen.png
+ images/win/fileprint.png
+ images/win/filesave.png
+ images/win/textbold.png
+ images/win/textcenter.png
+ images/win/textitalic.png
+ images/win/textjustify.png
+ images/win/textleft.png
+ images/win/textright.png
+ images/win/textunder.png
+ images/win/zoomin.png
+ images/win/zoomout.png)
+
+
+#### Keys ignored in scope 1:.:textedit.pro:<NONE>:
+# EXAMPLE_FILES = "textedit.qdoc"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+extend_target(textedit CONDITION TARGET Qt::PrintSupport
+ LIBRARIES
+ Qt::PrintSupport
+)
+
+#### Keys ignored in scope 3:.:textedit.pro:build_all AND NOT build_pass:
+# CONFIG = "-build_all" "release"