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. Suppressing QML image errors
QtWS25 Last Chance

Suppressing QML image errors

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 2.2k 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.
  • S Offline
    S Offline
    sivabalan
    wrote on last edited by
    #1

    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
    0
    • G Offline
      G Offline
      GentooXativa
      wrote on last edited by
      #2

      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
      0
      • S Offline
        S Offline
        sivabalan
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sivabalan
          wrote on last edited by
          #4

          [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
          0

          • Login

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