Bug 509473

Summary: breeze-icons consider substitution of $<TARGET_FILE:generate-symbolic-dark> in icon-dark
Product: [Plasma] Breeze Reporter: m_jimmer <josephjamesmills>
Component: IconsAssignee: visual-design
Status: REPORTED ---    
Severity: normal CC: christoph, kainz.a, m, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch file

Description m_jimmer 2025-09-14 05:12:11 UTC
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"
Comment 1 Christoph Cullmann 2025-09-20 13:34:26 UTC
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!