diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2023-04-25 09:13:18 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2023-04-26 17:25:50 +0200 |
commit | 3abfd4aa7c709202dbbd0d24f3a0cf4f6108fea5 (patch) | |
tree | 77684a065a20b169ba8780e4cabe2e1530989249 /src/widgets/doc/snippets/cmake-macros/examples.cmake | |
parent | e51274d8c310b566faf9b825dd70433020c9d5dd (diff) |
Doc: Use qt_add_executable() not add_executable() in snippets
Changes code snippets that are visible in the docs.
Task-number: QTBUG-113116
Pick-to: 6.5
Change-Id: If743234bfe6947acf02307bf1144daad4fba5d73
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/cmake-macros/examples.cmake')
-rw-r--r-- | src/widgets/doc/snippets/cmake-macros/examples.cmake | 2 |
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 d18f2fffb8..46749da194 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] |