Hello,
I am a newbie in Qt.I would like to close a window but the Qt Gui hangs when I do so.
I am trying to close the Gui with this->close()
connect(ui->Close, SIGNAL(clicked()), this, SLOT(close()));
connect(ui->Close, SIGNAL(clicked()), this, SLOT(close()));
To copy to clipboard, switch view to plain text mode
void MainWindow::close()
{
this->close();
}
void MainWindow::close()
{
this->close();
}
To copy to clipboard, switch view to plain text mode
Can anybody tell me how to close the Gui without hanging it.
Bookmarks