[PyQt] Bug in QFileDialog.getSaveFileName
Martin Teichmann
martin.teichmann at mbi-berlin.de
Tue Mar 1 14:02:57 GMT 2011
Hello Phil, Hello List,
Just a little bug report:
the following small script raises a TypeError, unexpectedly so.
Tested under Windows PyQt4 Version 4.8.3.
import sip
sip.setapi("QString", 2) # this line important
from PyQt4 import QtGui
app = QtGui.QApplication([])
QtGui.QFileDialog.getSaveFileName(None, "", "", "", "")
Greetings
Martin
--
Max-Born-Institut
Max-Born-Straße 2a
12489 Berlin
+49 30 6392 1234
More information about the PyQt
mailing list