PDA

View Full Version : Can you reproduce these Mac OS X 10.9 issues on Qt 4?



AndyBrice
28th October 2013, 15:10
There seem to be 3 issues with Qt 4 on Mac OS X 10.9.

a) The font issue (fix here http://successfulsoftware.net/2013/10/23/fixing-qt-4-for-mac-os-x-10-9-mavericks/ ). I can reproduce this on 10.9.

b) The QDir::currentPath() issue ( https://bugreports.qt-project.org/browse/QTBUG-34300 ). Some people are reporting it returns blank. I can't reproduce this on 10.9.

c) The QFileDialog::getSaveFileName() / QFileDialog::getOpenFileName() issue ( https://bugreports.qt-project.org/browse/QTBUG-27664 ). The dialogs don't respect the dir arg passed in. I can reproduce this on 10.9.

I attach a simple sample app that reproduces c), but not b), for me on Mac OS X 10.9 using Qt 4.8.4. Do you see b) and/or c) if you build and run the attached code on 10.9?

spirit
28th October 2013, 15:16
b) and c) work fine for me using Qt 4.8.5.

AndyBrice
28th October 2013, 15:27
I have investigated this more. If I build on 10.8 using Qt 4.8.5 and deploy onto 10.9 I get b), but not c).


b) and c) work fine for me using Qt 4.8.5.

On Mac OS X 10.9? Did you build on 10.9?

spirit
28th October 2013, 15:28
Qt 4.8.5, built using XCode 5.0.1 llvm, for Mac 10.9.

AndyBrice
28th October 2013, 16:58
I wonder if it is something to do with whether the .app is sandboxed?

johnda
28th October 2013, 18:28
Bug b is very real for us in our shipping qt based application. Works fine on osx 10.8, does not work on osx 10.9. Our app ships with Qt 4.6.2 dynamic libraries.

C seems to work fine for us on osx 10.9.

kalos80
29th October 2013, 11:30
I can reproduce b. You need to launch the application double clicking on it, not through the command line. Compiled on Mac 10.6.8, Qt 4.8.4

AndyBrice
29th October 2013, 14:15
I also find b) works ok if I launch from the command line (Qt 4.8.5 on Mac 10.9) rather than double clicking on the .app in the finder.

spirit
29th October 2013, 14:18
I also find b) works ok if I launch from the command line (Qt 4.8.5 on Mac 10.9) rather than double clicking on the .app in the finder.
Yes, same here.