Written by marcelpetrick
on April 19, 2018
Add to your environment:
1 |
QT_MESSAGE_PATTERN="(%{file} : %{line}) :: %{message}" |
Windows: set either via “set” or via RapidEnvironmentEditor.
In case of a no-debug-build, add QT_MESSAGELOGCONTEXT to DEFINES in the pro-file.
(Open question: if there are just mpc/vcxproj-files, then how to trigger?)
related sources:
* https://woboq.com/blog/nice-debug-output-with-qt.html
* https://fecub.wordpress.com/2015/11/04/better-debug-output-using-qt_message_pattern/
* http://doc.qt.io/qt-5/qmessagelogcontext.html#details
Leave a Reply
You must be logged in to post a comment.