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

Qt Quick can't load SVG images without the Qt Widgets module

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      I'm displaying SVG images in my Qt Quick applications, however, they can't be loaded without the Qt Widgets module (Qt5Widgets.dll).

       

      I don't understand why the widgets module is necessary to display a SVG image.

       

      Minimum re-produce project attached.

      Steps to reproduce:

      1. Build the project.
      2. Run the application and the SVG image can be displayed successfully
      3. Delete or rename Qt5Widgets(d).dll
      4. Re-open the application and the SVG image can't be loaded.

        Attachments

        1. qtquickbug.zip
          2 kB
          赵 宇航
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            wangwenx190 赵 宇航
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes