Why would an error here, is there any who teach the
CodePudding user response:
What is MainWindow, QMainWindow
CodePudding user response:
Parameter type, take a look at your huanying if this class inherits QMainWindow
CodePudding user response:
Appeared in front of the problem is solved, and then can't exec mainwindow calls inside, that should use what ah, QDialog can use the exec
CodePudding user response:
Mainwindow. The show ();
CodePudding user response: