summaryrefslogtreecommitdiffstats
path: root/examples/widgets/richtext/textedit
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-03-20 13:41:37 +0100
committerTobias Hunger <tobias.hunger@qt.io>2019-03-26 15:25:39 +0000
commitaa50b377a7d904e35cf3a26e4c8a054108011ffd (patch)
treeff45946e5779357aa547f00a8b5b9d0119a2b8f2 /examples/widgets/richtext/textedit
parent05ebd62f099b51b160a06e1257007bf437355fae (diff)
CMake: Add widgets examples
Change-Id: Ib6142b93df066e3658eb189b50ca74c455fe7e56 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/richtext/textedit')
-rw-r--r--examples/widgets/richtext/textedit/CMakeLists.txt75
1 files changed, 75 insertions, 0 deletions
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"