yunzhongxia
yunzhongxia
2021-03-06 10:52

VS2019+Win10+Qt5.12 wireshark编译错误,请帮忙看看

wireshark 编译,Win10+VS09+Qt5.12编译一直报下面错误,请帮忙。 

144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: static struct QMetaObject const FolderListModel::staticMetaObject" (?staticMetaObject@Fold
       erListModel@@2UQMetaObject@@B) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: static struct QMetaObject const AboutDialog::staticMetaObject" (?staticMetaObject@AboutDia
       log@@2UQMetaObject@@B) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __cdecl AboutDialog::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_me
       tacall@AboutDialog@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual void * __cdecl AboutDialog::qt_metacast(char const *)" (?qt_metacast@AboutDialog@@
       UEAAPEAXPEBD@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __cdecl AboutDialog::metaObject(void)const " (?metaObje
       ct@AboutDialog@@UEBAPEBUQMetaObject@@XZ) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __cdecl PluginListModel::qt_metacall(enum QMetaObject::Call,int,void * *)" (?q
       t_metacall@PluginListModel@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual void * __cdecl PluginListModel::qt_metacast(char const *)" (?qt_metacast@PluginLis
       tModel@@UEAAPEAXPEBD@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __cdecl PluginListModel::metaObject(void)const " (?meta
       Object@PluginListModel@@UEBAPEBUQMetaObject@@XZ) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: static struct QMetaObject const ShortcutListModel::staticMetaObject" (?staticMetaObject@Sh
       ortcutListModel@@2UQMetaObject@@B) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: static struct QMetaObject const AuthorListModel::staticMetaObject" (?staticMetaObject@Auth
       orListModel@@2UQMetaObject@@B) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __cdecl ShortcutListModel::qt_metacall(enum QMetaObject::Call,int,void * *)" (
       ?qt_metacall@ShortcutListModel@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual void * __cdecl ShortcutListModel::qt_metacast(char const *)" (?qt_metacast@Shortcu
       tListModel@@UEAAPEAXPEBD@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __cdecl ShortcutListModel::metaObject(void)const " (?me
       taObject@ShortcutListModel@@UEBAPEBUQMetaObject@@XZ) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __cdecl AuthorListModel::qt_metacall(enum QMetaObject::Call,int,void * *)" (?q
       t_metacall@AuthorListModel@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual void * __cdecl AuthorListModel::qt_metacast(char const *)" (?qt_metacast@AuthorLis
       tModel@@UEAAPEAXPEBD@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __cdecl AuthorListModel::metaObject(void)const " (?meta
       Object@AuthorListModel@@UEBAPEBUQMetaObject@@XZ) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __cdecl FolderListModel::qt_metacall(enum QMetaObject::Call,int,void * *)" (?q
       t_metacall@FolderListModel@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual void * __cdecl FolderListModel::qt_metacast(char const *)" (?qt_metacast@FolderLis
       tModel@@UEAAPEAXPEBD@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __cdecl FolderListModel::metaObject(void)const " (?meta
       Object@FolderListModel@@UEBAPEBUQMetaObject@@XZ) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>about_dialog.obj : error LNK2001: 无法解析的外部符号 "public: static struct QMetaObject const PluginListModel::staticMetaObject" (?staticMetaObject@Plug
       inListModel@@2UQMetaObject@@B) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>accordion_frame.obj : error LNK2001: 无法解析的外部符号 "public: void __cdecl AccordionFrame::visibilityChanged(bool)" (?visibilityChanged@AccordionFram
       e@@QEAAX_N@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>accordion_frame.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __cdecl AccordionFrame::qt_metacall(enum QMetaObject::Call,int,void * *)" (
       ?qt_metacall@AccordionFrame@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>accordion_frame.obj : error LNK2001: 无法解析的外部符号 "public: virtual void * __cdecl AccordionFrame::qt_metacast(char const *)" (?qt_metacast@Accordi
       onFrame@@UEAAPEAXPEBD@Z) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>accordion_frame.obj : error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * __cdecl AccordionFrame::metaObject(void)const " (?me
       taObject@AccordionFrame@@UEBAPEBUQMetaObject@@XZ) [C:\Development\wsbuild64\wireshark.vcxproj]
   144>address_editor_frame.obj : error LNK2001: 无法解析的外部符号 "public: static struct QMetaObject const AddressEditorFrame::staticMetaObject" (?staticMeta
       Object@AddressEditorFrame@@2UQMetaObject@@B) [C:\Development\wsbuild64\wireshark.vcxproj]

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答