qt + vs  release   产生bug  无法解析的外部符号 "public: virtual struct QMetaObject const * __thiscall ***

进入目录 

cmd

运行  : 以下命令    

LNK2001	无法解析的外部符号 "public: virtual struct QMetaObject const * __thiscall addContact::metaObject...

找到生成文件的文件夹    添加  moc_***.cpp   生成成功

 

 

相关文章:

  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-09-29
  • 2021-12-14
  • 2022-12-23
猜你喜欢
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案