diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-16 11:55:24 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-19 11:51:47 +0200 |
commit | 2ffbac7cb2f16ab350d203a12a86535772d1c578 (patch) | |
tree | 6c75c04df8ddfdf9c466647858538ea9fa3b925b /examples/corelib/ipc | |
parent | c3fee0d984e59cee3ab6d069011015dd850be98f (diff) |
CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661
Change-Id: I0dacfdc97a3fb7d88da85b67800f2c1b084d869b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/corelib/ipc')
-rw-r--r-- | examples/corelib/ipc/localfortuneclient/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/corelib/ipc/localfortuneserver/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/corelib/ipc/sharedmemory/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt index b65f8d224f..837e686465 100644 --- a/examples/corelib/ipc/localfortuneclient/CMakeLists.txt +++ b/examples/corelib/ipc/localfortuneclient/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Network) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(localfortuneclient +qt_add_executable(localfortuneclient client.cpp client.h main.cpp ) diff --git a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt index b03dd74058..e459913c6f 100644 --- a/examples/corelib/ipc/localfortuneserver/CMakeLists.txt +++ b/examples/corelib/ipc/localfortuneserver/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Network) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(localfortuneserver +qt_add_executable(localfortuneserver main.cpp server.cpp server.h ) diff --git a/examples/corelib/ipc/sharedmemory/CMakeLists.txt b/examples/corelib/ipc/sharedmemory/CMakeLists.txt index 13332bd381..5205cc654b 100644 --- a/examples/corelib/ipc/sharedmemory/CMakeLists.txt +++ b/examples/corelib/ipc/sharedmemory/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) -add_qt_gui_executable(sharedmemory +qt_add_executable(sharedmemory dialog.cpp dialog.h dialog.ui main.cpp ) |