summaryrefslogtreecommitdiff
path: root/doc/src/cmake/snippets/cmake/helloworld_qtwidgets.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/cmake/snippets/cmake/helloworld_qtwidgets.cmake')
-rw-r--r--doc/src/cmake/snippets/cmake/helloworld_qtwidgets.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/cmake/snippets/cmake/helloworld_qtwidgets.cmake b/doc/src/cmake/snippets/cmake/helloworld_qtwidgets.cmake
index fec5f682..562ff3b2 100644
--- a/doc/src/cmake/snippets/cmake/helloworld_qtwidgets.cmake
+++ b/doc/src/cmake/snippets/cmake/helloworld_qtwidgets.cmake
@@ -11,7 +11,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 REQUIRED COMPONENTS Widgets)
qt_standard_project_setup()
-add_executable(helloworld
+qt_add_executable(helloworld
mainwindow.ui
mainwindow.cpp
main.cpp