aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgcontextplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/qsgcontextplugin.cpp')
-rw-r--r--src/quick/scenegraph/qsgcontextplugin.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/quick/scenegraph/qsgcontextplugin.cpp b/src/quick/scenegraph/qsgcontextplugin.cpp
index 7569cd2495..3751891455 100644
--- a/src/quick/scenegraph/qsgcontextplugin.cpp
+++ b/src/quick/scenegraph/qsgcontextplugin.cpp
@@ -136,9 +136,7 @@ QSGAdaptationBackendData *contextFactory()
#endif
if (!requestedBackend.isEmpty()) {
-#ifndef QT_NO_DEBUG
qCDebug(QSG_LOG_INFO) << "Loading backend" << requestedBackend;
-#endif
// First look for a built-in adaptation.
for (QSGContextFactoryInterface *builtInBackend : qAsConst(backendData->builtIns)) {
@@ -160,14 +158,12 @@ QSGAdaptationBackendData *contextFactory()
backendData->name = requestedBackend;
backendData->flags = backendData->factory->flags(requestedBackend);
}
-#ifndef QT_NO_DEBUG
if (!backendData->factory) {
qWarning("Could not create scene graph context for backend '%s'"
" - check that plugins are installed correctly in %s",
qPrintable(requestedBackend),
qPrintable(QLibraryInfo::location(QLibraryInfo::PluginsPath)));
}
-#endif
}
#endif // QT_NO_LIBRARY
}