I create a QWizard instance in a QMainwindow instance and show it with show(). When it is showed my mainwindow disappeares. When I finish or cancel the wizard, the application is closed. I have been searching and trying various things but still haven't got a clue. Can somebody help me out here, this makes no sense?
The code looks like this:
void MainWindow::startMyWizard()
{
pWizard_ = new CMyWizard( this );//CMyWizard directly derived from QWizard}
pWizard_->show();
Bookmarks