forked from qt-creator/qt-creator
Lua: Fix build on Windows for older Qt
Qt6.4 ends on Windows with an ambiguous overload for the
operator otherwise.
Amends d298244c10.
Change-Id: Ie6813cffb22925b71ee55219ade1c3234f6aed8f
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -279,8 +279,8 @@ expected_str<sol::protected_function> LuaEngine::prepareSetup(
|
||||
|
||||
qCDebug(LOGLSPLUA) << "Script returned table with keys:";
|
||||
for (const auto &pair : *pluginTable) {
|
||||
qCDebug(LOGLSPLUA) << "Key:" << pair.first.as<std::string>();
|
||||
qCDebug(LOGLSPLUA) << "Value:" << pair.second.as<std::string>();
|
||||
qCDebug(LOGLSPLUA) << "Key:" << QByteArrayView(pair.first.as<std::string>());
|
||||
qCDebug(LOGLSPLUA) << "Value:" << QByteArrayView(pair.second.as<std::string>());
|
||||
}
|
||||
|
||||
auto hookTable = pluginTable->get<sol::optional<sol::table>>("hooks");
|
||||
|
||||
Reference in New Issue
Block a user