[Qt-creator] Slow debugging with Qt Creator

Maximilien Renard iixamaxii at gmail.com
Wed Jul 22 13:36:30 CEST 2009


Hi there,

I'm having some trouble with the debugging mode that I haven't ever
noticed till today (but I didn't use the debugger for weeks).

In my application, the first thing I have to do is opening a file.
Therefore I use the getOpenFileName dialog :

void CWindow::OnOpenOBJFile() {
	COpenGL3DView * CurOpenGL3DView = NULL;

	if(GetCurrentMainViewID() > -1) {
		CurOpenGL3DView = m_MainViews[GetCurrentMainViewID()]->GetOpenGL3DView();
	}

	qDebug() << "TEST";

	QString FileName = QFileDialog::getOpenFileName(this, tr("Open OBJ
File"), QDir::homePath(), tr("OBJ files (*.obj)"));

	if(!FileName.isNull()) {
        ....
        }
}

TEST is displayed very quickly whereas the dialog takes about 6
minutes to show up.

What am I doing wrong ?? I've a very basic use of the debugger so (I
think) I didn't change any parameters.

Thank you for your help,

Best regards,

Maximilien Renard



More information about the Qt-creator-old mailing list