lqt5 / lqt

Lua Binding for Qt5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qt5.12.5 Win10 VS2019 X64 compile error

hezhaowei opened this issue · comments

3> Creating library C:/Program/Lua/lqt/build/lib/RelWithDebInfo/qtcore.lib and object C:/Program/Lua/lqt/build/lib/RelWithDebInfo/qtcore.exp
3>lqt_metaobject.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl QArrayData::QArrayData(void)" (_imp??0QArrayData@@qeaa@XZ) referenced in function "struct QArrayData * __cdecl lqlL_tostringdata(struct lua_State *,int)" (?lqlL_tostringdata@@YAPEAUQArrayData@@PEAUlua_State@@h@Z)
3>C:\Program\Lua\lqt\build\lib\RelWithDebInfo\qtcore.dll : fatal error LNK1120: 1 unresolved externals

Qt5.12.0, Qt5.12.7,Qt5.13.0 same error occur

It can be compiled with VS2017, probably because the official QT lib was compiled with VS2017