If you’re working with Qt and RHEL 7.x (or any derivatives) you may have come across a bug where
qDebug messages do not show up. According to this post in RedHat’s bug tracker, looks like the default logging settings are quite restrictive “[…] by design. Our users do not want to get spammed with debugging output”. You can check it by yourself at
The solution is pretty simple. According to the official Qt docs, you can override the settings in that file by creating your own at
~/.config/QtProject/qtlogging.ini. Mine looks like this:
[Rules] *.debug=true qt.*.debug=false
That shows all debug messages except those from Qt’s internal code.