How to show dialague form to mainwindow form in Qt
-
Ha
I am struck to develop my app in qt.
I want to show from dailague form to mainwindow form. i used mainwindow obj and type the obj.show() cannot work for me.code :
void wecome::on_pushButton_clicked()
{
MainWindow w;
w.show();
} -
For the code please use the code tags.
What do you want to do? What does work, what does not?
-
Try this.
MainWindow *w = new MainWindow;
w->show();