Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34107

File specify issue on Mac 10.9

    XMLWordPrintable

Details

    • macOS
    • c934ea341e0749aef9c927ca3def68976bdc976f

    Description

      Hi there,

      I got some problem choosing files I specified to be selectable when I was evaluating Mac 10.9 Mavericks GM. Here are the details.

      Here’s the Static functions I used in my build.

      QString getExistingDirectory ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), Options options = ShowDirsOnly )
      QString getOpenFileName ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 )
      QStringList getOpenFileNames ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 )
      QString getSaveFileName ( QWidget * parent = 0, const QString & caption = QString(), const QString & dir = QString(), const QString & filter = QString(), QString * selectedFilter = 0, Options options = 0 )
      While building the demo, I chose any one of the upper Static functions, set filter QString values as *.wmv, *.mxf, *.mts, *.avi, etc, and entitled com.apple.security.files.user-select.read-write.
      The expected result should be like this. When I open a dialog with the file formats I set in the filter, the files should be selectable. But the result is on Mavericks, the WMV, MXF, MTS, and AVI files cannot be selected. (Please refer to the attached demo and screenshot.) If run the demo on Mac 10.8, everything works as it’s expected.
      It seems like it’s something wrong with MacOS, but if I’m using XCode and make the same entitlement, the mentioned files are selectable. So it must be the problem of compatibility issue between QT and Mac 10.9. I tested on both Qt 5.1.1 and 4.8.5, neither works for me. What should I do make it work? Would you please help me?
      Your help will be greatly appreciated.
      Thank you.
      Best regards,
      Sam Lee

      Attachments

        For Gerrit Dashboard: QTBUG-34107
        # Subject Branch Project Status CR V

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            mcqm Sam Lee
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes