Bug 378305

Summary: breeze-icons.rcc can't be cross-compiled
Product: [Plasma] Breeze Reporter: Harald Sitter <sitter>
Component: IconsAssignee: Plasma Development Mailing List <plasma-devel>
Status: CONFIRMED ---    
Severity: normal CC: kainz.a, nate, ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Harald Sitter 2017-03-31 08:33:40 UTC
as part of the build process breeze-icons builds qrcAlias to generate the rcc file, in a cross-compile setup qrcAlias would have to be built for the build architecture rather than the host architecture (i.e. what is being built for).

e.g. if you cross-build on x64 for arm you'd need qrcAlias to be built for x64 so you can run it at build time. the way it is built now is for arm making it not runable.

workaroundable by not cross-compiling the icons as the generated data one could build it on x64 and use on arm. this does however mean that you couldn't build the rcc without having a qtbase build for the build arch (so you can build the icons) AND a qtbase for the host arch (for the app that uses the rcc)
Comment 1 andreas 2017-04-27 20:18:23 UTC
The component Icons is for icon design stuff. what you wrote is something devel specific I didn't understood anything.
Comment 2 Nate Graham 2019-12-06 18:41:04 UTC
Any chance you'd be interested i fixing this, Harald?
Comment 3 Harald Sitter 2019-12-09 14:11:45 UTC
Not particularly
Comment 4 Ralf Habacker 2021-04-14 10:16:33 UTC
There is a patch available at https://build.opensuse.org/package/view_file/windows:mingw:win32/mingw32-breeze5-icons/0001-extend-generating-of-qrcalias.patch?expand=1, which provides generating qrcAlias when cross compiling.