Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.5, 5.1.1
-
Mac 10.9 GM seed
-
-
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