From 62d698c39c1c2dd514989694d6e6facf0b17825d Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 12 Jul 2024 07:00:24 +0200 Subject: [PATCH] Lua: Fix build on Windows for older Qt Qt6.4 ends on Windows with an ambiguous overload for the operator otherwise. Amends d298244c10dba9d831935369fced979f7cd3f9d0. Change-Id: Ie6813cffb22925b71ee55219ade1c3234f6aed8f Reviewed-by: Marcus Tillmanns --- src/plugins/lua/luaengine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/lua/luaengine.cpp b/src/plugins/lua/luaengine.cpp index c4cd9d50b75..0c0501ab2ef 100644 --- a/src/plugins/lua/luaengine.cpp +++ b/src/plugins/lua/luaengine.cpp @@ -279,8 +279,8 @@ expected_str LuaEngine::prepareSetup( qCDebug(LOGLSPLUA) << "Script returned table with keys:"; for (const auto &pair : *pluginTable) { - qCDebug(LOGLSPLUA) << "Key:" << pair.first.as(); - qCDebug(LOGLSPLUA) << "Value:" << pair.second.as(); + qCDebug(LOGLSPLUA) << "Key:" << QByteArrayView(pair.first.as()); + qCDebug(LOGLSPLUA) << "Value:" << QByteArrayView(pair.second.as()); } auto hookTable = pluginTable->get>("hooks");