summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/cmake-macros/examples.cmake
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-11-18 14:26:47 +0100
committerKai Koehne <kai.koehne@qt.io>2020-11-23 10:01:06 +0000
commitc082213556991c6619ef2d2c00a7042406f867a7 (patch)
tree3507970b760c8340f8bff6a924395539a60e1781 /src/widgets/doc/snippets/cmake-macros/examples.cmake
parent9e1aa7fc5fef04787fcc7f56592104df6103b32b (diff)
Doc: Update CMake functions in Qt Widgets for Qt 6
Pick-to: 6.0 6.0.0 Change-Id: I4110e8695c75c40cec6f94bb94879b07282b29d3 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/cmake-macros/examples.cmake')
-rw-r--r--src/widgets/doc/snippets/cmake-macros/examples.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/widgets/doc/snippets/cmake-macros/examples.cmake b/src/widgets/doc/snippets/cmake-macros/examples.cmake
index 88cf79ea7b7..e1f9f6a2774 100644
--- a/src/widgets/doc/snippets/cmake-macros/examples.cmake
+++ b/src/widgets/doc/snippets/cmake-macros/examples.cmake
@@ -1,9 +1,3 @@
-#! [qt5_wrap_ui]
-set(SOURCES mainwindow.cpp main.cpp)
-qt5_wrap_ui(SOURCES mainwindow.ui)
-add_executable(myapp ${SOURCES})
-#! [qt5_wrap_ui]
-
#! [qt_wrap_ui]
set(SOURCES mainwindow.cpp main.cpp)
qt_wrap_ui(SOURCES mainwindow.ui)