Dariusz on Software

Methods and Tools

About This Site

Software development stuff


Better debugging of QT warnings
Fri, 27 May 2011 11:06:04 +0000

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.


Created by Chronicle v3.5