Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.2
-
None
-
I built Qt5 from the GIT repository (checked out yesterday) on Windows XP as described [here|http://qt-project.org/wiki/Building_Qt_5_from_Git] using the MinGW 4.7 compiler included with the [Qt binary download|http://download.qt-project.org/official_releases/qt/5.0/5.0.2/qt-windows-opensource-5.0.2-mingw47_32-x86-offline.exe].
But I could observe the same behaviour with the build included in the [Qt binary download|http://download.qt-project.org/official_releases/qt/5.0/5.0.2/qt-windows-opensource-5.0.2-mingw47_32-x86-offline.exe] or a build from the [qt-everywhere zip download|http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip].
For the build I used ActivePerl 5.16.3.1603 and Python-3.3.1.
My configure options were:
{code}configure
-prefix D:/qt5-build
-opensource
-opengl desktop
-no-icu
-no-angle
-no-native-gestures
-no-audio-backend{code}I built Qt5 from the GIT repository (checked out yesterday) on Windows XP as described [here| http://qt-project.org/wiki/Building_Qt_5_from_Git ] using the MinGW 4.7 compiler included with the [Qt binary download| http://download.qt-project.org/official_releases/qt/5.0/5.0.2/qt-windows-opensource-5.0.2-mingw47_32-x86-offline.exe ]. But I could observe the same behaviour with the build included in the [Qt binary download| http://download.qt-project.org/official_releases/qt/5.0/5.0.2/qt-windows-opensource-5.0.2-mingw47_32-x86-offline.exe ] or a build from the [qt-everywhere zip download| http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip ]. For the build I used ActivePerl 5.16.3.1603 and Python-3.3.1. My configure options were: {code}configure -prefix D:/qt5-build -opensource -opengl desktop -no-icu -no-angle -no-native-gestures -no-audio-backend{code}
-
fb2a25e7564f4651beb955fd3ecb2e644b16d80d
Description
Since I started using Qt 5.0.2 instead of 4.7 (for Windows XP), QFileDialog::getExistingDirectory() does always open with "Desktop/My Documents" as initially selected directory and the caption is always "Browse For Folder",
even though I am passing different arguments:
QString directory = QFileDialog::getExistingDirectory( this, "Open Directory", "C:/" );
When I use the non-native Qt-Dialog, all works fine:
QString directory = QFileDialog::getExistingDirectory( this, "Open Directory", "C:/", QFileDialog::DontUseNativeDialog );
This can be reproduced with the Qt example:
examples\widgets\dialogs\findfiles