From 967e741b1696b2d43f9a742f4489be955cd97b92 Mon Sep 17 00:00:00 2001 From: SineStriker <55847490+SineStriker@users.noreply.github.com> Date: 周一, 24 2月 2025 02:59:04 +0800 Subject: [PATCH] Update --- examples/mainwindow/CMakeLists.txt | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/mainwindow/CMakeLists.txt b/examples/mainwindow/CMakeLists.txt index 6137ab3..24d2eab 100644 --- a/examples/mainwindow/CMakeLists.txt +++ b/examples/mainwindow/CMakeLists.txt @@ -3,7 +3,12 @@ file(GLOB _src *.h *.cpp) qwk_add_example(${PROJECT_NAME} - SOURCES ${_src} - 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