Qt metaObject linker problem

后端 未结 8 512
猫巷女王i
猫巷女王i 2020-12-30 01:03

After integrating Qt with Vs and trying to compile .pro file I\'m getting following errors:

Error   9   error LNK2001: unresolved external symbol \"public         


        
相关标签:
8条回答
  • 2020-12-30 01:37

    Some fairly long-winded explanations above.
    Using Qt Creator, on the menu bar:
    Build>Run qmake
    Build>Build All

    0 讨论(0)
  • 2020-12-30 01:39

    Same problem occurred when I used Qt Addin for VS, I saw moc files are not included into project after building. I included them into project these errors are gone.

    0 讨论(0)
提交回复
热议问题