diff --git a/src/main.cpp b/src/main.cpp index 1633d8375..2c329f544 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -59,6 +59,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");