diff options
author | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> | 2023-02-17 13:54:52 +0100 |
---|---|---|
committer | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> | 2023-02-20 11:20:23 +0100 |
commit | e04d260125e440fc39d71a59300f4010dce19afb (patch) | |
tree | 5b1678e3d20283aecedd902576b0bdb8f1e1221d /examples | |
parent | 07b091417e2140e049ac0f14999cf0164dc02de5 (diff) |
Examples: Call qt_standard_project_setup() in CMakeLists.txt
Task-number: QTBUG-110895
Pick-to: 6.5
Change-Id: I5e1c46675f8cbe25c13754a517521341dc63d9e2
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/httpserver/colorpalette/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/httpserver/simple/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/httpserver/colorpalette/CMakeLists.txt b/examples/httpserver/colorpalette/CMakeLists.txt index 037fd2d..898bbf1 100644 --- a/examples/httpserver/colorpalette/CMakeLists.txt +++ b/examples/httpserver/colorpalette/CMakeLists.txt @@ -12,6 +12,8 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/httpserver/${PROJECT_NAME}") find_package(Qt6 REQUIRED COMPONENTS HttpServer Gui Concurrent) +qt_standard_project_setup() + qt_add_executable(colorpaletteserver apibehavior.h types.h diff --git a/examples/httpserver/simple/CMakeLists.txt b/examples/httpserver/simple/CMakeLists.txt index f6db757..1bb2663 100644 --- a/examples/httpserver/simple/CMakeLists.txt +++ b/examples/httpserver/simple/CMakeLists.txt @@ -16,6 +16,8 @@ if(ANDROID) find_package(Qt6 REQUIRED COMPONENTS Gui) endif() +qt_standard_project_setup() + qt_add_executable(simple main.cpp ) |