Skip to content

Entries tagged "debugging".

Better debugging of QT warnings

When a QT warning is issued you might not know what code is causing activation of this warning. Warnings are not fatal, application is not stopped with proper backtrace.

QT creators added very useful option for that purpose: QT_FATAL_WARNINGS. If you set:


You will be correct backtrace under gdb that allow to locate the problem. Application will abort as soon as first QT warning is located.