Created attachment 184941 [details] patch file SUMMARY When cross compiling on say yocto we would like to use the native already compiled generate-symbolic-dark but in icons-dark $<TARGET_FILE:generate-symbolic-dark> is used thus halting that option. STEPS TO REPRODUCE 1. add python3-native python3-lxml-native for generation 2. try to compile. native and target OBSERVED RESULT icons-dark fails to link to Qt6Core due to the fact that Qt is cross compiled. PATCH attached is a patch, but I am sure you all can do better EXPECTED RESULT Compile both target and host. SOFTWARE/OS VERSIONS KDE Frameworks Version: 6.17.0 Qt Version: 6.9.2 Breeze-Icons Sha256: "4ffc75886e9a14a2a02da4871600b8c0b5a40756b8e99cbecfb515696d93c3b8"
I have no idea if that is better or correct, could you create a merge request on invent.kde.org? Maybe somebody with more cross compiling knowledge can then take a look at that. Thanks!