summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/composition
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/painting/composition
parent05ebd62f099b51b160a06e1257007bf437355fae (diff)
CMake: Add widgets examples
Change-Id: Ib6142b93df066e3658eb189b50ca74c455fe7e56 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/painting/composition')
-rw-r--r--examples/widgets/painting/composition/CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/widgets/painting/composition/CMakeLists.txt b/examples/widgets/painting/composition/CMakeLists.txt
new file mode 100644
index 0000000000..1e83bc4814
--- /dev/null
+++ b/examples/widgets/painting/composition/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from composition.pro.
+
+#####################################################################
+## composition Binary:
+#####################################################################
+
+add_qt_executable(composition
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/composition"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/painting/composition"
+ SOURCES
+ composition.cpp composition.h
+ main.cpp
+ LIBRARIES # special case
+ painting_shared
+)
+
+# Resources:
+add_qt_resource(composition "composition" PREFIX "/res/composition" FILES
+ composition.cpp
+ composition.html
+ flower.jpg
+ flower_alpha.jpg)