Unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Parent

后端 未结 23 2317
醉话见心
醉话见心 2020-11-30 21:33

I inherited a class from QObject :

class Parent: public QObject
{
    Q_OBJECT
    QObject* cl;

public:
    Parent(QObject *parent=0):QObject(parent) {
            


        
23条回答
  •  一整个雨季
    2020-11-30 22:17

    If your moc files are generated in the visual studio project try to include them into project if they are not included into project then rebuild.

提交回复
热议问题