Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Suppress QML output to console
QtWS25 Last Chance

Suppress QML output to console

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 766 Views
  • 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 Offline
    M Offline
    Mixa84
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved