CMake: Regenerate examples to use qt_add_executable

Task-number: QTBUG-87661
Change-Id: I4aa23dd654e90f6ebf789a3af64624e108d8859e
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
This commit is contained in:
Alexandru Croitor 2020-10-16 16:47:16 +02:00
parent 68baa6b8d0
commit 97e9419230
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Network)
find_package(Qt6 COMPONENTS Coap)
add_qt_gui_executable(testapp
qt_add_executable(testapp
coaphandler.cpp coaphandler.h
main.cpp
)

View File

@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS Coap)
add_qt_gui_executable(quickmulticastclient
qt_add_executable(quickmulticastclient
main.cpp
qmlcoapmulticastclient.cpp qmlcoapmulticastclient.h
)

View File

@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
find_package(Qt6 COMPONENTS Coap)
add_qt_gui_executable(quicksecureclient
qt_add_executable(quicksecureclient
main.cpp
qmlcoapsecureclient.cpp qmlcoapsecureclient.h
)

View File

@ -21,7 +21,7 @@ find_package(Qt6 COMPONENTS Network)
find_package(Qt6 COMPONENTS Coap)
find_package(Qt6 COMPONENTS Widgets)
add_qt_gui_executable(simplecoapclient
qt_add_executable(simplecoapclient
main.cpp
mainwindow.cpp mainwindow.h mainwindow.ui
optiondialog.cpp optiondialog.h optiondialog.ui