I have resources.qrc compiled to resources.py using the following batch file:
@echo off
call "C:\Program Files\QGIS 3.0\bin\o4w_env.bat"
call "C:\Program Files\QGIS 3.0\bin\qt5_env.bat"
call "C:\Program Files\QGIS 3.0\bin\py3_env.bat"
@echo on
pyrcc5 -o resources.py resources.qrc
I import resources at the beginning of the code but i get the following error:
ModuleNotFoundError: No module named 'resources'
I tried editing the .ui file as explained here: QGIS plugin: Problems importing resources (resources_rc) file - plugin doesn't load - PATH problems? But I don't have the exact same lines as mentioned instead of:
I have:
Here is the content of the folder: Does somebody have a clue what is wrong?
No comments:
Post a Comment