| Summary: | ecm_install_icons doesn't work with Breeze | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] extra-cmake-modules | Reporter: | David Jarvie <djarvie> |
| Component: | general | Assignee: | ecm-bugs-null <ecm-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | Keywords: | qt6 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Can you write a post to the frameworks list? I don't think this should be fixed in ECM, it's the breeze icons repositories that don't follow conventions for icons |
ecm_install_icons cmake command installs Breeze icons in the wrong locations. Breeze uses a different directory structure from other icon themes, so for ecm_install_icons to work with Breeze, it would have to detect that the icon theme is Breeze and modify its behaviour accordingly. I don't know whether it is reasonable to expect ECM to do this, or whether it is really a Breeze issue, but the result is faulty installation. The only solution that I'm aware of is to make CMakeLists.txt install the Breeze icons at hard-coded locations. For example, Breeze expects 22x22 action icons to be installed at: ${KDE_INSTALL_ICONDIR}/breeze/actions/22/ whereas other icon themes (e.g. oxygen) use: ${KDE_INSTALL_ICONDIR}/oxygen/22x22/actions/ This fault occurs for both KF5 and KF6: SOFTWARE/OS VERSIONS KDE Frameworks Version: 5.240.0 / 5.103.0 Qt Version: 6.6.0 / 5.15.8