Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.4.2, 5.5.0
-
None
-
Windows 8.1 64 bits French
Description
With this program:
#include <QCoreApplication> #include <QStandardPaths> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); foreach(const QString &path, QStandardPaths::standardLocations(QStandardPaths::ConfigLocation)) printf("path=%s\n", qPrintable(path)); }
The Qt 5.3 returns:
path=C:/Users/Alexis/AppData/Local/paths
path=C:/ProgramData/paths
path=C:/Products/build-paths-Desktop_Qt_5_3_MSVC2013_OpenGL_32bit-Debug/debug
path=C:/Products/build-paths-Desktop_Qt_5_3_MSVC2013_OpenGL_32bit-Debug/debug/data
but Qt 5.4.2 and Qt 5.5.0 return:
path=C:/Users/Alexis/AppData/Local/paths
path=C:/Users/Alexis/AppData/Local/paths
path=C:/Products/build-paths-Desktop_Qt_5_4_2_MSVC2013_OpenGL_32bit-Debug/debug
path=C:/Products/build-paths-Desktop_Qt_5_4_2_MSVC2013_OpenGL_32bit-Debug/debug/data
The second entry is wrong.
Attachments
Issue Links
- duplicates
-
QTBUG-46279 REG: QStandardPaths::standardLocations returns writeable paths
-
- Closed
-