diff --git a/src/main.cpp b/src/main.cpp index 85eec5d0b..56c954f27 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,6 +58,10 @@ int main(int argc, char *argv[]) QQuickStyle::setStyle(QStringLiteral("Material")); #else QApplication app(argc, argv); + // Default to org.kde.desktop style unless the user forces another style + if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) { + QQuickStyle::setStyle(QStringLiteral("org.kde.desktop")); + } #endif QApplication::setOrganizationName("KDE");