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

OSX: Wrong theme icons are loaded when app is deployed with macdeployqt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.9
    • 5.5.1
    • None
    • macOS

    Description

      I'm using custom icon themes for QOwnNotes (https://github.com/pbek/QOwnNotes).
      In dark mode I set a theme breeze-dark-qownnotes (https://github.com/pbek/QOwnNotes/tree/develop/src/icons/breeze-dark-qownnotes) with `QIcon::setThemeName("breeze-dark-qownnotes")`.
      Here is the icon resource file: https://github.com/pbek/QOwnNotes/blob/develop/src/breeze-dark-qownnotes.qrc

      That works perfectly under Linux and Windows.

      When I build with `qmake` under OS X it still works perfectly. But when I use `macdeployqt QOwnNotes.app` to finally deploy the app the icons from the dark mode theme are not used anymore. Instead the icons from the default icon set breeze-qownnotes (https://github.com/pbek/QOwnNotes/tree/develop/src/icons/breeze-qownnotes) are viewed in the toolbar and everywhere else.
      Here is the default icon resource file: breeze-qownnotes.qrc (https://github.com/pbek/QOwnNotes/blob/develop/src/breeze-qownnotes.qrc)

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            pbek Patrizio Bekerle
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes