summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/multiple
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-03-12 11:29:28 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2021-03-12 13:21:09 +0100
commitda3a24c06541b63011a3af91fbae9f9d2ec28912 (patch)
tree2a6c42c04e2a7187f3cf4180a3cfe5041694f4cb /examples/activeqt/multiple
parentb7834eefa615cf2ba2028ec7c7f525b74bdea969 (diff)
Re-generate the CMake project files
Change-Id: Icdfe81a51b626034bd86bf143eb1fe108603d148 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/activeqt/multiple')
-rw-r--r--examples/activeqt/multiple/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/activeqt/multiple/CMakeLists.txt b/examples/activeqt/multiple/CMakeLists.txt
index ac9f8a9..468ea99 100644
--- a/examples/activeqt/multiple/CMakeLists.txt
+++ b/examples/activeqt/multiple/CMakeLists.txt
@@ -20,11 +20,15 @@ find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Widgets)
find_package(Qt6 COMPONENTS AxServer)
-add_qt_gui_executable(multipleax
+qt_add_executable(multipleax
ax1.h
ax2.h
main.cpp
)
+set_target_properties(multipleax PROPERTIES
+ WIN32_EXECUTABLE TRUE
+ MACOSX_BUNDLE TRUE
+)
target_link_libraries(multipleax PUBLIC
Qt::AxServer
Qt::Core