"导出pyqt设计器图片资源 pyqt5 import resources_rc 错误解决方案"
Published on Aug. 22, 2023, 12:08 p.m.
解决import resources_rc找不到的错误
You should have a file called resource.qrc
, this must be converted to .py
, this or you can do it by executing:
pyrcc5 resource.qrc -o resource\_rc.py#详情<https://stackoverflow.com/questions/41301204/importerror-no-module-named-resource-rc>