Default / 默认 · September 1, 2021

“导出pyqt设计器图片资源 pyqt5 import resources_rc 错误解决方案”

Table of Content

解决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
%d bloggers like this: