PDA

View Full Version : QFileDialog::getOpenFileName crash in debug mode and not in realease mode



Toutyx
4th June 2012, 11:00
hello,

I use QFileDialog::getOpenFileName in my project.
When i execute my programm, this one crash in debug mode but not in release mode...

I have not idea why.

I use Qt 4.8.1 whith Qt-Crator 2.4.1 Windows 7 (64 Bit). My program is compiled in 32 bit.


QString qs_fichier = QFileDialog::getOpenFileName(0,tr("Fichier à envoyer"),
QString(),
tr("Ihm po Files (*.ihm_po)"));

Sorry for my poor english.

Antony

chenz
4th June 2012, 11:15
Are you sure that it actually crashes? In my experience the file dialogs can be *very* slow when debugging under Windows.

Toutyx
4th June 2012, 12:56
Yes, i'm sure. When debugging step by step (F10) my programm crashes at this instruction.