Differentiate logging in order to silence certain modules. (#5419)

* Differentiate logging in order to silence certain modules.

* Lint cmake.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2025-01-05 23:38:51 +01:00 committed by GitHub
parent 38e99f2e87
commit 9c38c9ed1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 81 additions and 61 deletions

View file

@ -136,6 +136,9 @@ int main(int argc, char *argv[])
SetUnhandledExceptionFilter(CockatriceUnhandledExceptionFilter);
#endif
// Set the QT_LOGGING_CONF environment variable
qputenv("QT_LOGGING_CONF", "./qtlogging.ini");
QApplication app(argc, argv);
QObject::connect(&app, &QApplication::lastWindowClosed, &app, &QApplication::quit);