Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
4.7.0
-
None
-
-
09d5bbe27 (master)
Description
https://doc.qt.io/qtinstallerframework/scripting-qfiledialog.html
"For automatic installations, --file-query with identifier=value pairs can be given separated with a comma. "
However, there is no "identifier" argument in the documentation of QFileDialog methods. QMessageBox methods have "identifier" as first argument. And after a lot of digging in the sources I found that QFileDialogProxy has an identifier as last argument. Thus I tried to pass an identifier as fourth argument to QFileDialog.getOpenFileName and - it actually worked.
At the very minimum, document the identifier argument as is. Ideally be consistent between QMessageBox and QFileDialog and take identifiers as either first or last argument everywhere? Thanks.