/etc/xdg/QtProject/qtlogging.ini disables qDebug() logging of all Qt 5 libraries installed on the system

Bug #1744260 reported by Friedemann Kleint
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The file globally disables all qDebug() for any Qt 5 installation on the system.

Instead, as in other distros (Fedora), it should go to:

QT_INSTALL_DATA , instead of /etc/xdg/QtProject:
qmake -qt=qt5 -query QT_INSTALL_DATA
/usr/share/qt5

Reference: https://bugreports.qt.io/browse/QTBUG-65841

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libqt5core5a 5.9.1+dfsg-10ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-25.29-generic 4.13.13
Uname: Linux 4.13.0-25-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Jan 19 10:36:59 2018
InstallationDate: Installed on 2018-01-10 (9 days ago)
InstallationMedia: Kubuntu 17.10 "Artful Aardvark" - Release amd64 (20171017.1)
SourcePackage: qtbase-opensource-src
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.xdg.QtProject.qtlogging.ini:
 # [Rules]
 # *.debug=false
mtime.conffile..etc.xdg.QtProject.qtlogging.ini: 2018-01-19T09:02:20.779862

Revision history for this message
Friedemann Kleint (friedemannkleint) wrote :
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

We will remove the file rather than moving it to another location. See https://bugs.debian.org/886437.

Changed in qtbase-opensource-src (Ubuntu):
status: New → Fix Committed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This was fixed in qtbase-opensource-src 5.9.3+dfsg-0ubuntu2 and newer versions in Ubuntu 18.04.

Changed in qtbase-opensource-src (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.