No longer enforce Fusion style on Windows 11 as of Qt 6.7

It looks like Qt 6.7 is going to provide a style for Windows 11 that will
fix the mentioned bug.
This commit is contained in:
Martchus 2023-12-15 15:56:09 +01:00
parent a30509a743
commit 010f5d8408
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
#include <QStyleFactory>
#include <QVersionNumber>
#if defined(Q_OS_WINDOWS) && (QT_VERSION >= QT_VERSION_CHECK(6, 3, 0))
#if defined(Q_OS_WINDOWS) && (QT_VERSION >= QT_VERSION_CHECK(6, 3, 0)) && (QT_VERSION < QT_VERSION_CHECK(6, 7, 0))
#include <QOperatingSystemVersion>
#define QT_UTILITIES_USE_FUSION_ON_WINDOWS_11
#endif