-
Hello, I see that from 6.5, Qt has a new colorScheme property, to know which color scheme is currently in use; Unfortunately in LXQt it seems to return always For now it seems I get successful results by using a function that checks the relative luminance of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
It's because the Qt6 branch of Qt::ColorScheme QPlatformTheme::colorScheme() const
{
return Qt::ColorScheme::Unknown;
} That being said, even when we add it to the Qt6 branch of |
Beta Was this translation helpful? Give feedback.
It's because the Qt6 branch of
lxqt-qtplugin
(provided that you have it) doesn't supportcolorScheme()
yet and Qt →qplatformtheme.cpp
containsThat being said, even when we add it to the Qt6 branch of
lxqt-qtplugin
, it won't be applicable with style plugins like Kvantum, which have their own palette and don't follow the platform palette.