You are not logged in.

1

Sunday, March 15th 2009, 2:38pm

Problem with QFileDialog::getOpenFileNames

Hi,
I'm a QT newbie and just joined this forum, I hope I'm posting to the correct list and all. I am trying to get a list of files as follows:

this->fileNames = QFileDialog::getOpenFileNames(this,"Choose File(s) to Encode", "/home/me/dvgrab-4-gui", tr("Video Files (*.mpg *.dv *.avi)"));

The dialog opens but as soon as a file is selected it closes and returns the file. This occurs on any systems running fedora 10. It does not occur on my fedora 8 box. I have tried different parameters and instantiating QFiledialog instead of calling statically. Nothing seems to change this behavior. Could this be a bug? Any help would be appreciated.

QT is installed from rpm package is qt-4.4.3-10.fc10.x86_64.

2

Friday, September 18th 2009, 10:05am

Same problem

Hi!

I have the same problem with a kubuntu 4.5.2 (qt built from sources); it is like this in qt's own standard dialog example, too, by the way. When I use an older qt 4.4.3, everything is fine, however.

I submitted a bug report to qt's task tracker, but no answer so far. Does anybody have a solution to this? Would be greatly appreciated!

Cheers
Shaka