diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-16 16:47:16 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-11-10 11:51:00 +0200 |
commit | 97e9419230421f4a5bab190f23bcf946294cf013 (patch) | |
tree | 9142b9fd50c0000ec4d97efca87026c20b9ef824 /examples | |
parent | 68baa6b8d061ba260b377e44f5f16a2b77b3b5a2 (diff) |
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661
Change-Id: I4aa23dd654e90f6ebf789a3af64624e108d8859e
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/coap/consolecoapclient/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/coap/quickmulticastclient/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/coap/quicksecureclient/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/coap/simplecoapclient/CMakeLists.txt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/coap/consolecoapclient/CMakeLists.txt b/examples/coap/consolecoapclient/CMakeLists.txt index fbbb7a6..a0291de 100644 --- a/examples/coap/consolecoapclient/CMakeLists.txt +++ b/examples/coap/consolecoapclient/CMakeLists.txt @@ -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 ) diff --git a/examples/coap/quickmulticastclient/CMakeLists.txt b/examples/coap/quickmulticastclient/CMakeLists.txt index 2cb101e..d9c4a8c 100644 --- a/examples/coap/quickmulticastclient/CMakeLists.txt +++ b/examples/coap/quickmulticastclient/CMakeLists.txt @@ -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 ) diff --git a/examples/coap/quicksecureclient/CMakeLists.txt b/examples/coap/quicksecureclient/CMakeLists.txt index 9c7cbf9..6f3cf3d 100644 --- a/examples/coap/quicksecureclient/CMakeLists.txt +++ b/examples/coap/quicksecureclient/CMakeLists.txt @@ -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 ) diff --git a/examples/coap/simplecoapclient/CMakeLists.txt b/examples/coap/simplecoapclient/CMakeLists.txt index 419233a..b69c09d 100644 --- a/examples/coap/simplecoapclient/CMakeLists.txt +++ b/examples/coap/simplecoapclient/CMakeLists.txt @@ -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 |