From 265caf0df718888bbe033ef155a51cfc0b8738b9 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Mon, 15 Dec 2025 00:26:21 +0100 Subject: [PATCH] Force Fusion look on macOS. --- app/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/main.cpp b/app/main.cpp index 971581a..a336bf3 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -19,6 +19,7 @@ #if defined(Q_OS_MAC) #include +#include #endif QString getNamedArgument(QStringList args, QString name, QString defaultName) @@ -50,6 +51,9 @@ int main(int argc, char *argv[]) // Ensure key repeat works for letter keys (disable macOS press-and-hold for this app). CFPreferencesSetAppValue(CFSTR("ApplePressAndHoldEnabled"), kCFBooleanFalse, kCFPreferencesCurrentApplication); CFPreferencesAppSynchronize(kCFPreferencesCurrentApplication); + + // Qt6 macOS default look is still lacking, so let's force Fusion for now + QQuickStyle::setStyle(QStringLiteral("Fusion")); #endif if (argc>1 && (!strcmp(argv[1],"-h") || !strcmp(argv[1],"--help"))) {