Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Suppress QML output to console

    QML and Qt Quick
    1
    1
    678
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mixa84 last edited by

      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:
      @onStatusChanged:
      {
      if (img.status==Image.Error) img.source="qrc:/default.jpg";
      }@
      I just want to suppress the output from the application!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post