<div dir="ltr">Il giorno sab 18 nov 2023 alle ore 09:19 Phil Thompson <<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>> ha scritto:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Are you able to build PyQt yourself? If so please try the attached.<br></blockquote><div><br></div><div>I cannot rebuild PyQt6 right now, but I managed to do it on PyQt5, and it works!</div><div>Other than the given example, it also fixes an issue I had with legacy Qt versions on my original code: I'm actually using a QSlider as a custom widget for the action, but using <span style="font-family:monospace">setValue()</span> on created widgets in order to keep them consistent resulted in an invalid QVariant warning in the stdout, so I chose to use <span style="font-family:monospace">setProperty('value', value)</span> instead. The problem didn't show on newer PyQt versions though.<br></div><div><br></div><div>Based on my understanding, the above aspects and my previous research, I suppose that the problem should be solved for PyQt6 too.<br></div><br></div><div class="gmail_quote">Thank you so much!<div></div><div><div>Will you eventually add this fix for both 5 and 6?</div><div><br></div>Cheers,<br></div><div>MaurizioB<br></div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="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>