Currently, using x11-misc/qt5ct produces the following output: qt5ct: using qt5ct plugin It happens from qCDebug() calls in the package. Qt allows customization of log messages via environment variable QT_LOGGING_RULES. Reproducible: Always Steps to Reproduce: 1. install x11-misc/qt5ct 2. reload profile (source /etc/profile) 3. start any qt5 application Actual Results: unwanted message "qt5ct: using qt5ct plugin" is printed to console Expected Results: no output
Created attachment 525648 [details] qt5ct-0.35-r1.ebuild adds appropriate QT_LOGGING_RULES to /etc/env.d/98qt5ct
Please attach a unified diff (diff -u) of the changes you did to the ebuild.
OK, will review and fix this tomorrow.
Unfortunately the fix for this bug isn't possible atm. System-wide QT_LOGGING_RULES doesn't stack across multiple files. Also system-wide QT_LOGGING_RULES can be mistakenly deactivated if a user defines this variable himself. Current QT_LOGGING_RULES mechanism is too unreliable. See this discussion for more info: https://github.com/gentoo/gentoo/pull/7911