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.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/doc/snippets/cmake-macros/examples.cmake b/src/widgets/doc/snippets/cmake-macros/examples.cmake
index eb08663540..3c58509fdf 100644
--- a/src/widgets/doc/snippets/cmake-macros/examples.cmake
+++ b/src/widgets/doc/snippets/cmake-macros/examples.cmake
@@ -4,5 +4,5 @@
#! [qt_wrap_ui]
set(SOURCES mainwindow.cpp main.cpp)
qt_wrap_ui(SOURCES mainwindow.ui)
-add_executable(myapp ${SOURCES})
+qt_add_executable(myapp ${SOURCES})
#! [qt_wrap_ui]