From 7610c3a509b8a04d25e72a6282d9c8ea8ecbd27f Mon Sep 17 00:00:00 2001 From: iveswang <1660583890@qq.com> Date: ćšć, 13 6æ 2024 14:09:06 +0800 Subject: [PATCH] fix: QObjectPrivate::threadData type change when qt >=5.15 --- examples/CMakeLists.txt | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index db45e1a..5d27181 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -7,12 +7,17 @@ add_executable(${_target}) qm_configure_target(${_target} ${ARGN}) - qm_add_win_rc(${_target} ICON ../shared/resources/example.ico) + qm_add_win_rc(${_target} ICON ${QWK_EXAMPLES_DIR}/shared/resources/app/example.ico) qm_add_win_manifest(${_target}) + qm_add_mac_bundle(${_target} ICON ${QWK_EXAMPLES_DIR}/shared/resources/app/example.icns) endmacro() add_subdirectory(shared) -add_subdirectory(mainwindow) +if(QWINDOWKIT_BUILD_WIDGETS) + add_subdirectory(mainwindow) +endif() -add_subdirectory(qml) \ No newline at end of file +if(QWINDOWKIT_BUILD_QUICK) + add_subdirectory(qml) +endif() \ No newline at end of file -- Gitblit v1.9.1