From b733c37522abeb33f2e14f7a8fdefaf15acf42b5 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Tue, 13 Feb 2018 09:57:29 +0100 Subject: ScenGraph: Prefer printf style logging This generates more compact code, saving 20480 bytes on disk (Linux 64 bit, release build). Change-Id: I73d6d88b7b61b87a5d714e131fcf86ee80c83f38 Reviewed-by: Ulf Hermann --- src/quick/scenegraph/qsgcontextplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quick/scenegraph/qsgcontextplugin.cpp') diff --git a/src/quick/scenegraph/qsgcontextplugin.cpp b/src/quick/scenegraph/qsgcontextplugin.cpp index 6583883d0c..634a492aa3 100644 --- a/src/quick/scenegraph/qsgcontextplugin.cpp +++ b/src/quick/scenegraph/qsgcontextplugin.cpp @@ -139,7 +139,7 @@ QSGAdaptationBackendData *contextFactory() } if (!requestedBackend.isEmpty()) { - qCDebug(QSG_LOG_INFO) << "Loading backend" << requestedBackend; + qCDebug(QSG_LOG_INFO, "Loading backend %s", qUtf8Printable(requestedBackend)); // First look for a built-in adaptation. for (QSGContextFactoryInterface *builtInBackend : qAsConst(backendData->builtIns)) { -- cgit v1.2.3