Getting thousands of errors while linking Wireshark with QT library
Wireshark version : 3.2.7
OS : Windows
Issue : While building Wireshark code it is observed that there are thousands of errors when linking with QT library. I verified the QT installed path, QT5_BASE_DIR path in environment variable, all looks good. But, failing to link. What could be the issue.
(Link target) ->
about_dialog.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __cdecl AuthorListModel::metaObject(void)const " (?me
taObject@AuthorListModel@@UEBAPEBUQMetaObject@@XZ) [C:\**\wireshark-3.2.7\wireshark.vcxproj]
about_dialog.obj : error LNK2001: unresolved external symbol "public: virtual void * __cdecl AuthorListModel::qt_metacast(char const *)" (?qt_metacast@AuthorL
istModel@@UEAAPEAXPEBD@Z) [C:\**\wireshark-3.2.7\wireshark.vcxproj]
about_dialog.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl AuthorListModel::qt_metacall(enum QMetaObject::Call,int,void * *)" (
?qt_metacall@AuthorListModel@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) [C:\**\wireshark-3.2.7\wireshark.vcxproj]
about_dialog.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __cdecl PluginListModel::metaObject(void)const " (?me
taObject@PluginListModel@@UEBAPEBUQMetaObject@@XZ) [C:\**\wireshark-3.2.7\wireshark.vcxproj]
about_dialog.obj : error LNK2001: unresolved external symbol "public: virtual void * __cdecl PluginListModel::qt_metacast(char const *)" (?qt_metacast@PluginL
istModel@@UEAAPEAXPEBD@Z) [C:\**\wireshark-3.2.7\wireshark.vcxproj]
about_dialog.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl PluginListModel::qt_metacall(enum QMetaObject::Call,int,void * *)" (
?qt_metacall@PluginListModel@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) [C:\**\wireshark-3.2.7\wireshark.vcxproj]
about_dialog.obj : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __cdecl ShortcutListModel::metaObject(void)const " (?
metaObject@ShortcutListModel@@UEBAPEBUQMetaObject@@XZ) [C:\**\wireshark-3.2.7\wireshark.vcxproj]
about_dialog.obj : error LNK2001: unresolved external symbol "public: virtual void * __cdecl ShortcutListModel::qt_metacast(char const *)" (?qt_metacast@Short
cutListModel@@UEAAPEAXPEBD@Z) [C:\U**\wireshark-3.2.7\wireshark.vcxproj]
Thank you.