Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Suppressing QML image errors

    QML and Qt Quick
    2
    4
    1967
    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.
    • S
      sivabalan last edited by

      Hi,

      Is there a way to suppress Image errors from being shown in the console output? Mostly errors where the remote source does not have the image or not the correct format or such.

      Eg: QML Image: Error downloading http://wwf.com/favicon.ico - server replied: Not Found etc.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • G
        GentooXativa last edited by

        You tryed with:

        @
        CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
        @

        On your project file.

        Jose Vicente Giner Sanchez - Senior Mobile Developer

        www.gigigo.com

        C/ Dr. Zamenhof 36bis, 1ºA 28027 Madrid
        T: +34 917431436

        1 Reply Last reply Reply Quote 0
        • S
          sivabalan last edited by

          Hi, Thanks for the quick reply. But wouldn't that suppress all the errors thrown by the application?

          1 Reply Last reply Reply Quote 0
          • S
            sivabalan last edited by

            [quote author="GentooXativa" date="1327940447"]You tryed with:

            @
            CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
            @

            On your project file.[/quote]

            I tried this and still I am seeing those error messages.

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