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

SVG in Qlabel display an empty icon on MacOs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.7, 5.13.2
    • None
    • Qt 5.13.2 framework
    • macOS

    Description

      Hello hard coder  ,

      Only on macOS with release version, put a SVG in QLabel display an empty icon.

      ui->label_indic_lastyear->setText("<img src=':/app/up-green.svg'/>") // BUG, empty
      ui->label_indic_lastyear->setText("<img src=':/app/up-green.png'/>" // OK
      

      Tested on Linux and Windows it's OK but not.

      Thanks.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            cfdev1 Cyril
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes