From df53287060966d78ffccac78342fb5d0a028f835 Mon Sep 17 00:00:00 2001 From: sola.lu <sola.lu.greentest.com.cn> Date: 周二, 10 6月 2025 19:03:07 +0800 Subject: [PATCH] 1.添加翻译,about,手册,login这几个按钮到标题栏。 --- examples/mainwindow/CMakeLists.txt | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/examples/mainwindow/CMakeLists.txt b/examples/mainwindow/CMakeLists.txt index c29f2b8..644e733 100644 --- a/examples/mainwindow/CMakeLists.txt +++ b/examples/mainwindow/CMakeLists.txt @@ -3,12 +3,8 @@ file(GLOB _src *.h *.cpp) qwk_add_example(${PROJECT_NAME} + FEATURES cxx_std_17 SOURCES ${_src} mainwindow.qrc ../shared/resources/shared.qrc - QT_LINKS Core Gui Widgets + 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