Skip to content

Commit

Permalink
qml Windows native style is broken on dark mode: switch to Fusion
Browse files Browse the repository at this point in the history
we will temporarily be using Fusion generic desktop style

Close #7215

see upstream Qt bug
https://bugreports.qt.io/browse/QTBUG-113469?focusedId=724929&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-724929

they apparently do not plan to fix Windows qml style to support dark
mode on Windows 11

Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Oct 7, 2024
1 parent cf1a6d7 commit 07958ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int main(int argc, char **argv)
#if defined Q_OS_MAC
style = QStringLiteral("macOS");
#elif defined Q_OS_WIN
style = QStringLiteral("Windows");
style = QStringLiteral("Fusion");
#endif

QQuickStyle::setStyle(style);
Expand Down

0 comments on commit 07958ce

Please sign in to comment.