<div dir="ltr">Sorry I make a mistake when i copy the lineĀ <div>In pyqt I never get any error with this line</div><div><span style="color:rgb(80,0,80)">self.label_6.setStyleSheet(".Q</span><span style="color:rgb(80,0,80)">Label#label_6 {background-color: rgb(0, 0, 0)};")</span><br></div><div><span style="color:rgb(80,0,80)">but with pyinstaller yes</span></div><div><span style="color:rgb(80,0,80)">but I solve it in this way</span></div><div><span style="color:rgb(80,0,80)">self.label_6.setStyleSheet(".Q</span><span style="color:rgb(80,0,80)">Label#label_6 {background-color: rgb(0, 0, 0);}")</span><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)">Regards</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 23 ott 2024 alle ore 13:43 Florian Bruhin <<a href="mailto:me@the-compiler.org">me@the-compiler.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2024-10-23T13:08:19 , Luca Bertolotti wrote:<br>
> self.label_6.setStyleSheet(".QLabel#label_6 {background-color: rgb(0, 0, 0};")<br>
<br>
You are missing a closing ) for rgb(...).<br>
<br>
None of this is related to PyInstaller (or PyQt for that matter),<br>
it should fail jn the exact same way if you just run your code.<br>
<br>
Florian<br>
</blockquote></div>