[SailfishDevel] how to get qml debug output to file

Tero Siironen tero.siironen at iki.fi
Tue Feb 4 21:37:28 UTC 2014


Andrey Kozhevnikov <coderusinbox at gmail.com> kirjoitti 4.2.2014 kello 23.14:

> This is messages handler i'm using in my projects:


This doesn’t seem to make a difference for me, the log file still contains only c++ side debug prints, qml prints (like console.log()) are not handled with messagehandler.

Actually I found out that even if set in pro-file:
DEFINES +=QT_NO_DEBUG_OUTPUT
DEFINES +=QT_NO_WARNING_OUTPUT

I still get qml debug prints printed out to console, so it seems that those prints from qml are not handled via normal debug handling at all?

I would like to get no debug printing at all, or then just to file.


— 
Tero


More information about the Devel mailing list