Important: Please read the Qt Code of Conduct -

Suppress QML output to console

  • I need to turn off all debug output from QML but I cannot find a way to do it.
    I have for example a situation when a image cannot be found and I get output like this: QML Image: Error downloading ... - server replied: Not Found.

    To be clear, my problem is not in a image that is not found. That will be constant case and I have set:
    if (img.status==Image.Error) img.source="qrc:/default.jpg";
    I just want to suppress the output from the application!

Log in to reply