summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/cmake-macros/examples.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/doc/snippets/cmake-macros/examples.cmake')
-rw-r--r--src/widgets/doc/snippets/cmake-macros/examples.cmake32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/widgets/doc/snippets/cmake-macros/examples.cmake b/src/widgets/doc/snippets/cmake-macros/examples.cmake
index 7d0023aed4a..0af8fd164d6 100644
--- a/src/widgets/doc/snippets/cmake-macros/examples.cmake
+++ b/src/widgets/doc/snippets/cmake-macros/examples.cmake
@@ -7,29 +7,29 @@ qt_wrap_ui(SOURCES mainwindow.ui)
qt_add_executable(myapp ${SOURCES})
#! [qt_wrap_ui]
-#! [qt6_add_ui_1]
+#! [qt_add_ui_1]
qt_add_executable(myapp mainwindow.cpp main.cpp)
-qt6_add_ui(myapp SOURCES mainwindow.ui)
-#! [qt6_add_ui_1]
+qt_add_ui(myapp SOURCES mainwindow.ui)
+#! [qt_add_ui_1]
-#! [qt6_add_ui_2]
+#! [qt_add_ui_2]
qt_add_executable(myapp mainwindow.cpp main.cpp)
-qt6_add_ui(myapp INCLUDE_PREFIX "src/files" SOURCES mainwindow.ui)
-#! [qt6_add_ui_2]
+qt_add_ui(myapp INCLUDE_PREFIX "src/files" SOURCES mainwindow.ui)
+#! [qt_add_ui_2]
-#! [qt6_add_ui_3]
+#! [qt_add_ui_3]
qt_add_executable(myapp widget1.cpp widget2.cpp main.cpp)
-qt6_add_ui(myapp INCLUDE_PREFIX "src/files" SOURCES widget1.ui widget2.ui)
-#! [qt6_add_ui_3]
+qt_add_ui(myapp INCLUDE_PREFIX "src/files" SOURCES widget1.ui widget2.ui)
+#! [qt_add_ui_3]
-#! [qt6_add_ui_4]
+#! [qt_add_ui_4]
qt_add_executable(myapp widget1.cpp widget2.cpp main.cpp)
-qt6_add_ui(myapp INCLUDE_PREFIX "src/files"
+qt_add_ui(myapp INCLUDE_PREFIX "src/files"
SOURCES "my_ui_files_1/widget1.ui" "my_ui_files_2/widget2.ui")
-#! [qt6_add_ui_4]
+#! [qt_add_ui_4]
-#! [qt6_add_ui_5]
+#! [qt_add_ui_5]
qt_add_executable(myapp widget1.cpp widget2.cpp main.cpp)
-qt6_add_ui(myapp INCLUDE_PREFIX "src/files_1" SOURCES "my_ui_files/widget1.ui")
-qt6_add_ui(myapp INCLUDE_PREFIX "src/files_2" SOURCES "my_ui_files/widget2.ui")
-#! [qt6_add_ui_5]
+qt_add_ui(myapp INCLUDE_PREFIX "src/files_1" SOURCES "my_ui_files/widget1.ui")
+qt_add_ui(myapp INCLUDE_PREFIX "src/files_2" SOURCES "my_ui_files/widget2.ui")
+#! [qt_add_ui_5]