I would like that my application has not extra resource folder to storage .svg files. After use qt_material.export_theme() I got a theme folder, theme.qss and resources.rcc.
I use pyrcc5 tool to convert resources.rcc into resources_rc.py and import it in my main.py, but it does not work. And the official example also did not say anything about the usage about resources.rcc but just told us to call QDir.addSearchPath. But if add the search path means that application use a real folder as resources source.
Can official give a clear mind about how to use qt_material exported theme resources in pyqt5 application by QResource Solution? Thx.
I would like that my application has not extra resource folder to storage
.svg
files. After useqt_material.export_theme()
I got atheme
folder,theme.qss
andresources.rcc
.I use pyrcc5 tool to convert
resources.rcc
intoresources_rc.py
and import it in mymain.py
, but it does not work. And the official example also did not say anything about the usage aboutresources.rcc
but just told us to callQDir.addSearchPath
. But if add the search path means that application use a real folder as resources source.Can official give a clear mind about how to use
qt_material
exported theme resources in pyqt5 application by QResource Solution? Thx.