diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index 18ae649091..e6239f0081 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -1443,6 +1443,8 @@ QQmlDebuggingEnabler::QQmlDebuggingEnabler(bool printWarning) qDebug("QML debugging is enabled. Only use this in a safe environment."); } QQmlEnginePrivate::qml_debugging_enabled = true; +#else + Q_UNUSED(printWarning); #endif }