mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-11-05 05:26:55 +01:00
Fix legacy Qt build
This commit is contained in:
parent
46effd4ada
commit
eacb94de41
1 changed files with 4 additions and 0 deletions
|
@ -373,7 +373,11 @@ QVariant LuaEngine::getVariant(lua_State *L_p, int index)
|
|||
else if (lua_isnoneornil(L_p, index)) {
|
||||
return QVariant();
|
||||
}
|
||||
#if QT_VERSION >= 0x050F00
|
||||
QTextStream(stderr) << "Warning: Didn't catch lua_isnoneornil before empty QVariant got returned" << Qt::endl;
|
||||
#else
|
||||
QTextStream(stderr) << "Warning: Didn't catch lua_isnoneornil before empty QVariant got returned" << endl;
|
||||
#endif
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue