Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140428

Make more descriptive error message when VectorImage can't load a file

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.10.0
    • Quick: VectorImage
    • None

      When the VectorImage fails to load a file, it complains it isn't a valid SVG file. But VectorImage potentially supports e.g. Lottie through a plugin mechanism.

      Often this error message will appear because the Lottie plugin is not loaded, for instance if you did not set the assumeTrustedSource property.

      If we fail to parse, we could check the extension of the file and assume that it is not an SVG if the extension is different, and then give a more generic error message in that case.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.graphics.and.multimedia Qt Graphics Team
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes