--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libqt4-core: QSettings uses /etc/qt4 instead of /etc/xdg as global config path
- From: Gregor Jasny <jasny@vidsoft.de>
- Date: Wed, 17 Jan 2007 13:46:37 +0100
- Message-id: <20070117124637.31119.97083.reportbug@andariel.int.vidsoft.de>
Package: libqt4-core
Version: 4.2.1-2
Severity: normal
Hi,
The QSettings documentation states that the directory /etc/xdg is used
for global configuration files. A strace shows the the Debian package
uses /etc/qt4 for this purpose.
Testcase:
#include <QSettings>
int main()
{
QSettings s("MyCompany", "MyProduct");
s.value("blubber");
}
strace output:
stat64("/home/users/jasny/.config/MyCompany/MyProduct.conf", 0x804b574)
lstat64("/home/users/jasny/.config/MyCompany/MyProduct.conf",
stat64("/home/users/jasny/.config/MyCompany", {st_mode=S_IFDIR|0711,
stat64("/home/users/jasny/.config/MyCompany/MyProduct.conf", 0xbff7cb68)
stat64("/home/users/jasny/.config/MyCompany/MyProduct.conf", 0x804b574)
stat64("/home/users/jasny/.config/MyCompany.conf", 0xbff7cb68) = -1
stat64("/home/users/jasny/.config/MyCompany.conf", 0x804b574) = -1
stat64("/etc/qt4/MyCompany/MyProduct.conf", 0xbff7cb68) = -1 ENOENT (No
stat64("/etc/qt4/MyCompany/MyProduct.conf", 0x804b574) = -1 ENOENT (No
stat64("/etc/qt4/MyCompany.conf", 0xbff7cb68) = -1 ENOENT (No such file
stat64("/etc/qt4/MyCompany.conf", 0x804b574) = -1 ENOENT (No such file
It would be great to see this bug fixed before the release of Etch.
Thanks,
Gregor
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages libqt4-core depends on:
ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries
ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst
ii libfontconfig1 2.4.2-1 generic font configuration library
ii libgcc1 1:4.1.1-21 GCC support library
ii libglib2.0-0 2.12.6-2 The GLib library of C routines
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3-13 compression library - runtime
libqt4-core recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: qt4-x11
Source-Version: 4.2.2-1
We believe that the bug you reported is fixed in the latest version of
qt4-x11, which is due to be installed in the Debian FTP archive:
libqt4-core_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/libqt4-core_4.2.2-1_i386.deb
libqt4-debug_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/libqt4-debug_4.2.2-1_i386.deb
libqt4-dev_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/libqt4-dev_4.2.2-1_i386.deb
libqt4-gui_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/libqt4-gui_4.2.2-1_i386.deb
libqt4-qt3support_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/libqt4-qt3support_4.2.2-1_i386.deb
libqt4-sql_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/libqt4-sql_4.2.2-1_i386.deb
qt4-designer_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/qt4-designer_4.2.2-1_i386.deb
qt4-dev-tools_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/qt4-dev-tools_4.2.2-1_i386.deb
qt4-doc_4.2.2-1_all.deb
to pool/main/q/qt4-x11/qt4-doc_4.2.2-1_all.deb
qt4-qtconfig_4.2.2-1_i386.deb
to pool/main/q/qt4-x11/qt4-qtconfig_4.2.2-1_i386.deb
qt4-x11_4.2.2-1.diff.gz
to pool/main/q/qt4-x11/qt4-x11_4.2.2-1.diff.gz
qt4-x11_4.2.2-1.dsc
to pool/main/q/qt4-x11/qt4-x11_4.2.2-1.dsc
qt4-x11_4.2.2.orig.tar.gz
to pool/main/q/qt4-x11/qt4-x11_4.2.2.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 407297@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Brian Nelson <pyro@debian.org> (supplier of updated qt4-x11 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 4 Mar 2007 13:50:39 -0500
Source: qt4-x11
Binary: libqt4-sql libqt4-core qt4-doc libqt4-debug libqt4-qt3support qt4-designer libqt4-dev qt4-dev-tools libqt4-gui qt4-qtconfig
Architecture: source i386 all
Version: 4.2.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Brian Nelson <pyro@debian.org>
Description:
libqt4-core - Qt 4 core non-GUI functionality runtime library
libqt4-debug - Qt 4 library debugging symbols
libqt4-dev - Qt 4 development files
libqt4-gui - Qt 4 core GUI functionality runtime library
libqt4-qt3support - Qt 3 compatibility library for Qt 4
libqt4-sql - Qt 4 SQL database module
qt4-designer - Qt 4 Designer
qt4-dev-tools - Qt 4 development tools
qt4-doc - Qt 4 API documentation
qt4-qtconfig - Qt 4 configuration tool
Closes: 380097 399049 402007 403290 407297 408813 409228 410862 410885
Changes:
qt4-x11 (4.2.2-1) unstable; urgency=low
.
* New upstream release (Closes: #410862)
.
* debian/rules: set the sysconfdir to /etc/xdg instead of /etc/qt4 to
match the QSettings documentation (Closes: #407297)
.
* Added Riku Voipio's patch for ARM EABI (Closes: #408813)
.
* debian/patches/22_launch_moc-qt4.dpatch: new patch to ensure the Qt4
version of moc is launched by qdbuscpp2xml (Closes: #399049)
.
* Added a doc-base file for qt4-doc (Closes: #403290)
.
* debian/qt4-designer.links: added a link /usr/share/qt4/bin/designer ->
/usr/bin/designer-qt4 (Closes: #410885)
.
* Re-arranged patches to group them by arch so that they're easier to
deal with
.
* Applied new patches for kFreeBSD and Hurd support
(Closes: #380097, #402007)
.
* debian/libqt4-gui.install: added the codecs plugins, somehow these got
accidentally dropped (Closes: #409228)
Files:
312ef5cc9fcb5d4cf5d85e2b5086b784 1380 libs optional qt4-x11_4.2.2-1.dsc
19f6374fe7924e33775cb87ee02669cb 37636491 libs optional qt4-x11_4.2.2.orig.tar.gz
df7ec0162ab592e81902b768d7bd4736 23399 libs optional qt4-x11_4.2.2-1.diff.gz
ebff69a3e6cabab557d6cabbfb23778d 21769284 doc optional qt4-doc_4.2.2-1_all.deb
e288c8a5329564235916d80a6c2b55e8 4211374 libdevel optional libqt4-dev_4.2.2-1_i386.deb
c72e75949f3a9635b045ce6d2d91f649 1176806 libs optional libqt4-core_4.2.2-1_i386.deb
93c0c6eb7b8765246149801b8a16a9d3 4945590 libs optional libqt4-gui_4.2.2-1_i386.deb
5a44be538881d3ee8a649128ec37f65a 322854 libs optional libqt4-sql_4.2.2-1_i386.deb
690ff07eb08fcc592f958c9f06d4cdf9 1258808 libs optional libqt4-qt3support_4.2.2-1_i386.deb
9c877dda43df143f7ca7547561cf782a 1076058 devel optional qt4-designer_4.2.2-1_i386.deb
b0c1efc3141eaa00dcc43dfa5f241f20 57293146 libs optional libqt4-debug_4.2.2-1_i386.deb
5ad591b976689aa43003a604797fc388 754872 devel optional qt4-dev-tools_4.2.2-1_i386.deb
007b9c070775f277a3a4579a1bd1e445 103816 x11 optional qt4-qtconfig_4.2.2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF6yRq1Ng1YWbyRSERAtSXAJ9mZDA6T8Jvn0U2vnGU8++F4CAs6gCeMH07
T46dwmTnr7TuQ92j2ax3peM=
=/MEA
-----END PGP SIGNATURE-----
--- End Message ---