icons: Add hicolor fallback for Qt < 5.5
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 13 Jun 2018 20:57:37 +0000 (22:57 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 15 Jun 2018 23:30:32 +0000 (01:30 +0200)
commitf788ce32deb5df0351488c908fd5bacd25d7b6cf
treeb0413199c7ab2ce5d6fcf96a3948e7eac7fc2392
parentb4b4d30567ea2d5c5bfaff8d019cf7ff5d023538
icons: Add hicolor fallback for Qt < 5.5

Turns out that Qt only added support for split icon themes in 5.5,
so with older Qt versions our icon theme support doesn't work
properly.

Install hicolor icons for Qt < 5.5, as we already do for Qt 4.
Add a hicolor icon resource, too, and make use of it in the system
tray implementations, which is arguably the most important place
to have proper icon support.

This adds around 130 KiB to the binary size, but should save a lot
of headaches.
icons/CMakeLists.txt
icons/hicolor_icons.qrc [new file with mode: 0644]
src/common/main.cpp
src/qtui/legacysystemtray.cpp
src/qtui/statusnotifieritem.cpp