<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;"><br></div><div style="margin:0;"><div class="cl-preview-section" style="box-sizing: border-box; color: rgba(0, 0, 0, 0.75); font-family: Lato, "Helvetica Neue", Helvetica, sans-serif; font-size: 18px; font-variant-ligatures: common-ligatures; background-color: rgb(243, 243, 243);"><p style="box-sizing: border-box; margin: 0px 0px 1.2em;">If users set icons by selecting from qrc resource file in Qt Designer, then the .py file generated by pyuic would contain such code</p><pre style="box-sizing: border-box; font-family: "Roboto Mono", "Lucida Sans Typewriter", "Lucida Console", monaco, Courrier, monospace; font-size: 0.85em; margin-top: 1.2em; margin-bottom: 1.2em;"><code style="box-sizing: border-box; font-family: "Roboto Mono", "Lucida Sans Typewriter", "Lucida Console", monaco, Courrier, monospace; font-size: inherit; background-color: rgba(0, 0, 0, 0.05); border-radius: 3px; padding: 0.5em; display: block; text-size-adjust: none; overflow-x: auto; white-space: pre;">icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/icons/icon1.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
</code></pre></div><div class="cl-preview-section" style="box-sizing: border-box; color: rgba(0, 0, 0, 0.75); font-family: Lato, "Helvetica Neue", Helvetica, sans-serif; font-size: 18px; font-variant-ligatures: common-ligatures; background-color: rgb(243, 243, 243);"><p style="box-sizing: border-box; margin: 1.2em 0px;">But there is no pyrcc in PyQt6 to convert the qrc file to .py file to work together with the generated UI .py file, this somewhat hampered the convenience of Qt Designer, so I¡¯d suggest another consideration on removing pyrcc in PyQt6. If the pyrcc supporting work is not complex, would you mind getting it back(perhaps for convenience and back compatibility) ?</p></div></div><div style="margin:0;"><br></div><div style="margin:0;"><img src="cid:25efff8b$1$17eccce7fab$Coremail$redstone-cold$163.com" orgwidth="1142" orgheight="720" data-image="1" style="width: 849px; height: 535px;"></div></div><br><br><span title="neteasefooter"><p> </p></span><br><br><span title="neteasefooter"><p> </p></span>