错误1
eigso.obj👎 error: LNK2019: unresolved external symbol “public: __thiscall skyplotGraphicsView::skyplotGraphicsView(class QWidget *)” (??0skyplotGraphicsView@@QAE@PAVQWidget@@@Z) referenced in function “public: void __thiscall Ui_EIGSO::setupUi(class QMainWindow *)” (?setupUi@Ui_EIGSO@@QAEXPAVQMainWindow@@@Z)
解决方法:
skyplotGraphicsView::skyplotGraphicsView(QWidget *parent)
: QGraphicsView(parent)
{
}
【算是重写了自己skyplotGraphicsView类的构造方法?
因为之前没写可能就没有构造方法 所以程序报错?】