[Qt-interest] QFileDialog error
Efan...
efanharris at gmail.com
Thu Mar 11 18:42:17 CET 2010
Hello all
in my application when I use
QString path = QFileDialog::getOpenFileName( this, tr("My pics"), ".",
tr("Photos (*.png *.jpg *.bmp)") );
I get this error "QThread::start: Failed to create thread"
If I try to use Non-native dialog
QFileDialog myDialog( 0 );
myDialog.setFileMode( QFileDialog::AnyFile );
myDialog .setViewMode( QFileDialog::Detail );
QStringList fileNames;
if( myDialogexec() ){
fileNames = myDialogselectedFiles();
}
This Also gives me same error, what am i doing wrong?
--
Efan Harris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100311/74855f34/attachment.html
More information about the Qt-interest-old
mailing list