Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0
-
Desktop Linux (Ubuntu 14)
Description
The following code:
#include <QApplication> #include <QStandardPaths> #include <QLibraryInfo> int main(int argc, char *argv[]) { QApplication app(argc, argv); qDebug( qPrintable(QLibraryInfo::location(QLibraryInfo::SettingsPath))); return 0; }
Logs: /opt/Qt/5.6/gcc_64/etc/xdg on 5.6 and /etc/xdg on 5.5.
It is used by QSettings too so, if requesting settings from system scope, qt looks in /opt/qt/Qt5.6.0/5.6/gcc_64/etc/xdg on 5.6 and not in /etc/xdg.
Attachments
For Gerrit Dashboard: QTBUG-52500 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
155894,5 | Add "-sysconfdir" back to Packaging configurations | master | qtqa/tqtc-coin-ci | Status: MERGED | +2 | 0 |
171678,1 | Added -sysconfdir /etc/xdg for Android builds as well | master | qtqa/tqtc-coin-ci | Status: ABANDONED | 0 | 0 |