diff --git a/shell/main.cpp b/shell/main.cpp index 0bc3ad26d..b53645136 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -56,9 +56,11 @@ void filterConnectionSyntaxWarning(QLoggingCategory *category) int main(int argc, char *argv[]) { +#if QT_CONFIG(qml_debug) if (qEnvironmentVariableIsSet("PLASMA_ENABLE_QML_DEBUG")) { QQmlDebuggingEnabler debugger; } +#endif // Plasma scales itself to font DPI // on X, where we don't have compositor scaling, this generally works fine. // also there are bugs on older Qt, especially when it comes to fractional scaling