Important: Please read the Qt Code of Conduct -

How to disable log messages in Application Output of Qt Creator?

  • Hi
    I would like to disable all the system logging messages (the W, D, E, I, V lines ) in the Application Output window of Qt Creator when uploading/running my Android application via Qt Creator.

    For example, every time I touch the screen I get output such as the following:

    D ViewRootImpl@2c0ffcc[QtActivity]: ViewPostImeInputStage processPointer 1
    D ViewRootImpl@2c0ffcc[QtActivity]: ViewPostImeInputStage processPointer 0

    and I would like get rid of these and the many other messages.

    As per, I tried adding at the top my of main() entry point:


    However, this does not have the effect desired, and I still see all the W, D, E, I, V log messages. I suppose the above rules are for logging to file rather than to the terminal.

    How can I disable those terminal logging messages then?

  • @Diracsbracket I have the same problem did you solve it? I want to stop Application Output I want to log only in files.

  • Lifetime Qt Champion

    @Claoo Hi and welcome to devnet,

    Since you want to put the output in a file, install a custom message handler and do that in there.

  • @SGaist Hi I did that and works great, but I don't know how to disable the logging from Application Output. I want the output to be only in the files I want and not in Application Output, at this moment my app is logging in files and in Application Output. Thx!

  • Lifetime Qt Champion

    Not knowing what you implemented I can't answer to that issue.

Log in to reply