Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. OSX: Wrong theme icons are loaded when app is deployed with macdeployqt
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
macdeployqt
2 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pbe
    wrote on 24 Jul 2016, 07:02 last edited by pbe
    #1

    I'm using custom icon themes for QOwnNotes.
    In dark mode I set a theme breeze-dark-qownnotes with QIcon::setThemeName("breeze-dark-qownnotes").
    Here is the icon resource file: 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 are viewed in the toolbar and everywhere else.
    Here is the default icon resource file: breeze-qownnotes.qrc

    Does anyone have an idea what went wrong?

    I tested with Qt 5.5.1 on OS X 10.11 and on Travis Ci, also with Qt 5.5.1.
    QOwnNotes OS X build on Travis CI, this is where the release building is done.

    1 Reply Last reply
    1
    • P Offline
      P Offline
      pbe
      wrote on 26 Jul 2016, 14:30 last edited by
      #2

      I now filed a bug https://bugreports.qt.io/browse/QTBUG-54960.

      1 Reply Last reply
      0

      1/2

      24 Jul 2016, 07:02

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved