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

QActions do not paint their svg-icon in a menu on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.3, 5.7.2, 5.8.0 RC
    • 5.6.0
    • GUI: Painting
    • None
    • macOS 10.11, Qt 5.6.0, Xcode 10.10
    • macOS
    • d8857f21ac2640215177b9cb7bb681b74bc66068

    Description

      Having a QAction with an svg-icon put to a menu in a QMainWindow will not draw the icon in the menu on a mac.

      To reproduce this I just loaded your application-example, added a new file jobmanager.svg to the resource and exchanged the "save.png" occurence against 'jobmanger.svg'. The svg-icon is drawn in the toolbutton but not in the menu – added a screenshot.

      Attachments

        Activity

          People

            andysh Andy Shaw
            lsideveloper Artur Möller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: