About removing pyrcc in PyQt6

Zhao Lee redstone-cold at 163.com
Sun Feb 6 02:13:12 GMT 2022




If users set icons by selecting from qrc resource file in Qt Designer, then the .py file generated by pyuic would contain such code

icon = QtGui.QIcon()

icon.addPixmap(QtGui.QPixmap(":/icons/icon1.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)


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) ?







 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220206/5e557b45/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 122540 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220206/5e557b45/attachment-0001.png>


More information about the PyQt mailing list