X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=icons%2FCMakeLists.txt;h=b989db482f7d96669c3b9a38f4f423be158d3afd;hp=7f3f6a2262351f3cbd5e037c1cfc64d30d1af044;hb=2d5f00707aefe046c8164e080196433b86d5606f;hpb=7d4dbdf00ab92e8c322656bd2d4d7034ef547001 diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt index 7f3f6a22..b989db48 100644 --- a/icons/CMakeLists.txt +++ b/icons/CMakeLists.txt @@ -55,6 +55,12 @@ if (WANT_MONO OR WANT_QTCLIENT) # hicolor contains the application icon in all relevant sizes install(DIRECTORY hicolor DESTINATION ${CMAKE_INSTALL_ICONDIR}) + if (USE_QT4) + # Qt 4 doesn't seem to correctly load icons from injected themes + # Install Quassel-specific ones from Oxygen into hicolor as fallback + install(DIRECTORY oxygen/ DESTINATION ${CMAKE_INSTALL_ICONDIR}/hicolor) + endif() + # For a system install, also copy to pixmaps if (CMAKE_INSTALL_PREFIX STREQUAL "/usr") install(FILES hicolor/48x48/apps/quassel.png DESTINATION /usr/share/pixmaps)