From a30509a74320823d3ed9e76e5f4d85b4d9a830d9 Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 15 Dec 2023 15:42:21 +0100 Subject: [PATCH] Add `ModernWindowsStyle` to list of style plugins It looks like `WindowsVistaStyle`-plugin is going to be renamed to `ModernWindowsStyle`-plugin. This plugin is going to provide the old style `windowsvista` and the new style `windows11`. I haven't seen any changelogs yet but that's what it looks like so far: https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/styles/modernwindows?h=6.7 --- cmake/modules/QtConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/QtConfig.cmake b/cmake/modules/QtConfig.cmake index 0825e2d..e063af8 100644 --- a/cmake/modules/QtConfig.cmake +++ b/cmake/modules/QtConfig.cmake @@ -282,7 +282,7 @@ if (STATIC_LINKAGE OR QT_TARGET_TYPE STREQUAL STATIC_LIBRARY) # ensure all available widget style plugins are built-in when creating a Qt Widgets application - required since Qt 5.10 # because the styles have been "pluginized" (see commit 4f3249f) - set(KNOWN_WIDGET_STYLE_PLUGINS WindowsVistaStyle MacStyle AndroidStyle) + set(KNOWN_WIDGET_STYLE_PLUGINS ModernWindowsStyle WindowsVistaStyle MacStyle AndroidStyle) set(USED_WIDGET_STYLE_PLUGINS) if (Widgets IN_LIST QT_MODULES) foreach (WIDGET_STYLE_PLUGIN ${KNOWN_WIDGET_STYLE_PLUGINS})