Skip to content

Not working Qt6 Qt::ColorScheme #921

Answered by tsujan
redtide asked this question in Q&A
Discussion options

You must be logged in to vote

It's because the Qt6 branch of lxqt-qtplugin (provided that you have it) doesn't support colorScheme() yet and Qt → qplatformtheme.cpp contains

Qt::ColorScheme QPlatformTheme::colorScheme() const
{
    return Qt::ColorScheme::Unknown;
}

That 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.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@tsujan
Comment options

@redtide
Comment options

@tsujan
Comment options

@redtide
Comment options

@tsujan
Comment options

Answer selected by redtide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants