Replies: 3 comments 1 reply
-
Actually, hold on a second.
Doesn't look so good. They've been changing things for two times already. And it's still close to being not documented at all. Not publicly, at least. Also, an interesting note on
|
Beta Was this translation helpful? Give feedback.
-
I found it somewhat hilarious that Qt build system (yes, the one for building Qt itself from source) printed, among other things, this message to stdout:
|
Beta Was this translation helpful? Give feedback.
-
Somehow, even more information on Qt logging, for those who still don't want to skim through source code: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Originally posted by @ogoffart in #86 (comment)
After years of looking for a cause or at least a working solution, I have finally been pointed in the right direction. This whole time Qt apps were trying to log into system journal, and not to stdout/stderr. It can be reverted by simply setting
QT_LOGGING_TO_CONSOLE
environment variable, as suggested in QTCREATORBUG-24756 (check out linked issues and mail thread as well). Note thatQT_LOGGING_TO_CONSOLE
does NOT appear in the documentation pages linked above.I filled as issue QTCREATORBUG-25935 for Qt Creator to set it on by default when running apps from IDE.
If I knew it at the time of #86, I'd rather pass logs from Rust to Qt side. But oh well… Now we have a reason to implement it too.
Beta Was this translation helpful? Give feedback.
All reactions