Using Qt 5.0.1:
//Using D:\\downloads as the open file string hangs the process forever.
QString theFname = QFileDialog::getOpenFileName( this, "open the file", "D:\\Downloads" );
theFname.clear();
↧