From 6f4ab6474fa81556b1d90f6f87f8322282d054db Mon Sep 17 00:00:00 2001 From: Zhao Yuhang <2546789017@qq.com> Date: 周六, 08 2月 2025 21:46:13 +0800 Subject: [PATCH] fix unwanted title bar when special effect is enabled --- examples/mainwindow/CMakeLists.txt | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/examples/mainwindow/CMakeLists.txt b/examples/mainwindow/CMakeLists.txt index 62845fa..bd16470 100644 --- a/examples/mainwindow/CMakeLists.txt +++ b/examples/mainwindow/CMakeLists.txt @@ -3,12 +3,7 @@ file(GLOB _src *.h *.cpp) qwk_add_example(${PROJECT_NAME} - SOURCES ${_src} mainwindow.qrc ../shared/resources/window-bar.qrc - QT_LINKS Core Gui Widgets + SOURCES ${_src} mainwindow.qrc ../shared/resources/shared.qrc + QT_LINKS Core Gui Widgets # MultimediaWidgets LINKS QWKWidgets WidgetFrame -) - -set_target_properties(${PROJECT_NAME} PROPERTIES - CXX_STANDARD 17 - CXX_STANDARD_REQUIRED TRUE -) +) \ No newline at end of file -- Gitblit v1.9.1