1, LNK2019 : mainwindow.obj: -1: error: LNK2019: unresolved external symbol "public: class QString __cdecl PushAlarmModel :: getPicUrl (class QModelIndex const &)"?? (GetPicUrl @ PushAlarmModel @@ QEAA AVQString @@ AEBVQModelIndex @@@ Z), the symbol in the function "private: void __cdecl MainWindow :: on_showAlarmPicButton_clicked (void)" is referenced (on_showAlarmPicButton_clicked @ MainWindow @@ AEAAXXZ) in?
The reason may be that I remove the generated classes directly in the production interface, but without recompiling, the solution is building files in the file directory delete regenerate, it can be solved.