Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-3320

scripting API: QFileDialog: 'identifier' argument not documented

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 4.8.0
    • 4.7.0
    • Documentation
    • None
    • All
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kamartti Katja Marttila
            dfranke Daniel Franke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes