Re: qDebug output in Qt Creator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/1/19 5:03 AM, Alexey Rochev wrote:
You need to set QT_ASSUME_STDERR_HAS_CONSOLE=1 environment variable. This is needed because Qt in Fedora is configured that way that when application is run not from console (e.g. from applications launcher) it will send QDebug output to journald instead of stderr. However for some reason when app is run from Qt Creator it doesn't recognise Qt Creator's "application output" redirection plugin as console so this variable is needed. You can set it in environment settings in Qt Creator's "Kits" settings.

Yes, thank you. I sought help in Qt IRC channel and someone there gave me the same info. I was able to fix it by following these same instructions.

I have documented it here: http://solidsmoke.blogspot.com/2019/04/qt-enabling-qdebug-messages-and-qt.html

These things sure cause some hurdles for Qt development on Fedora.



Thanks,


Syam


_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux