[PyQt] pyqtsysroot and unresolved __thiscall QObject symbols
Patrick Stinson
patrickkidd at gmail.com
Wed Oct 31 18:28:05 GMT 2018
Has anyone run into QObject unresolved symbols like this related to your own source files when linking a pyqtproject built on windows using qt built with pyqtdeploy-sysroot? I am using VS 2017.
It looks like maybe a define or header mismatch for the calling convention?
1>CUtil.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::timerEvent(class QTimerEvent *)" (?timerEvent at QObject@@UAEXPAVQTimerEvent@@@Z)
1>CUtil_win32.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::timerEvent(class QTimerEvent *)" (?timerEvent at QObject@@UAEXPAVQTimerEvent@@@Z)
1>sip_cutilAppFilter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::timerEvent(class QTimerEvent *)" (?timerEvent at QObject@@UAEXPAVQTimerEvent@@@Z)
1>CUtil.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::childEvent(class QChildEvent *)" (?childEvent at QObject@@UAEXPAVQChildEvent@@@Z)
1>CUtil_win32.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::childEvent(class QChildEvent *)" (?childEvent at QObject@@UAEXPAVQChildEvent@@@Z)
1>sip_cutilAppFilter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::childEvent(class QChildEvent *)" (?childEvent at QObject@@UAEXPAVQChildEvent@@@Z)
1>CUtil.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::customEvent(class QEvent *)" (?customEvent at QObject@@UAEXPAVQEvent@@@Z)
1>CUtil_win32.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::customEvent(class QEvent *)" (?customEvent at QObject@@UAEXPAVQEvent@@@Z)
1>sip_cutilAppFilter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::customEvent(class QEvent *)" (?customEvent at QObject@@UAEXPAVQEvent@@@Z)
1>CUtil.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::connectNotify(class QMetaMethod const &)" (?connectNotify at QObject@@UAEXABVQMetaMethod@@@Z)
1>CUtil_win32.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::connectNotify(class QMetaMethod const &)" (?connectNotify at QObject@@UAEXABVQMetaMethod@@@Z)
1>sip_cutilAppFilter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::connectNotify(class QMetaMethod const &)" (?connectNotify at QObject@@UAEXABVQMetaMethod@@@Z)
1>CUtil.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::disconnectNotify(class QMetaMethod const &)" (?disconnectNotify at QObject@@UAEXABVQMetaMethod@@@Z)
1>CUtil_win32.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::disconnectNotify(class QMetaMethod const &)" (?disconnectNotify at QObject@@UAEXABVQMetaMethod@@@Z)
1>sip_cutilAppFilter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QObject::disconnectNotify(class QMetaMethod const &)" (?disconnectNotify at QObject@@UAEXABVQMetaMethod@@@Z)
1>xmlparse.obj : error LNK2019: unresolved external symbol __Expat_LoadLibrary referenced in function _startParsing
1>release\\Family Diagram.exe : fatal error LNK1120: 6 unresolved externals
1>Done building project "Family Diagram.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
More information about the PyQt
mailing list