[PyQt] PyQt5 issues related to QFileDialog

Detlev Offenbach detlev at die-offenbachs.de
Tue Sep 3 18:03:43 BST 2019


Hello Phil,

I think I encountered some issues with the PyQt5 bindings for QFileDialog. The 
following static methods have a wrong signature. The 'directory' parameter 
must be QUrl() instead of QString. The methods are

QFileDialog.getOpenFileUrl(...)
QFileDialog.getOpenFileUrls(...)
QFileDialog.getSaveFileUrl(...)

The signature of QFileDialog.getExistingDirectoryUrl(...) is correct.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list