diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2021-03-12 11:29:28 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2021-03-12 13:21:09 +0100 |
commit | da3a24c06541b63011a3af91fbae9f9d2ec28912 (patch) | |
tree | 2a6c42c04e2a7187f3cf4180a3cfe5041694f4cb /examples/activeqt/mediaplayer/CMakeLists.txt | |
parent | b7834eefa615cf2ba2028ec7c7f525b74bdea969 (diff) |
Re-generate the CMake project files
Change-Id: Icdfe81a51b626034bd86bf143eb1fe108603d148
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/activeqt/mediaplayer/CMakeLists.txt')
-rw-r--r-- | examples/activeqt/mediaplayer/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/activeqt/mediaplayer/CMakeLists.txt b/examples/activeqt/mediaplayer/CMakeLists.txt index 317ea40..acc01c1 100644 --- a/examples/activeqt/mediaplayer/CMakeLists.txt +++ b/examples/activeqt/mediaplayer/CMakeLists.txt @@ -20,11 +20,15 @@ find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS AxContainer) -add_qt_gui_executable(mediaplayer +qt_add_executable(mediaplayer main.cpp mainwindow.ui mediaaxwidget.h ) +set_target_properties(mediaplayer PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(mediaplayer PUBLIC Qt::AxContainer Qt::Core |