It should be possible if you link against the Qt debug lib.