<div dir="ltr"><div>QIconEngine does not support <span style="font-family:monospace">virtual_hook()</span>.</div><div><br></div><div>At this time, this is not a huge problem with Qt6, as they made <span style="font-family:monospace">isNull()</span> and <span style="font-family:monospace">scaledPixmap()</span> virtual since 6.0.</div><div>Yet, I also realize that Qt5 is fundamentally EOL (but we know it's still in use), but I also think that we cannot exclude the possibility of future Qt6/7 versions that may add further hooks (who knows, maybe they may want to add support for emojis in QIcon - I actually thought about that) while "forgetting" related virtual functions again in the meantime, unless they decide to drop the virtual_hook approach to begin with.<br></div><div><br></div><div>I don't have enough C++/sip knowledge to understand if there may be limitations from the Python perspective, but, if there aren't, would it be possible to add <span style="font-family:monospace">virtual_hook()</span> to Qt6 (and, possibly, Qt5 as well)?<br><br></div><div>If it's not possible for specific C++/Python technical reasons, I'd still be curious to know the reason, just for the sake of understanding.<br></div><div><br></div><div>Best regards,</div><div>MaurizioB<br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi<br><a href="http://www.jidesk.net" target="_blank">http://www.jidesk.net</a></div></div>