QGis Plugin Builder を使ってプラグインを作成すると、途中から
Traceback (most recent call last):
File "C:/PROGRA~2/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 208, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/oki.HNS/.qgis2/python/plugins\Bar\__init__.py", line 34, in classFactory
from .Foo import Bar
File "C:/PROGRA~2/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 460, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/oki.HNS/.qgis2/python/plugins\Bar\Foo.py", line 26, in
import resources_rc
File "C:/PROGRA~2/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 460, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named resources_rc
なるエラーに遭遇
c:\work\any>"c:\Program Files (x86)\QGIS Brighton\bin\pyrcc4.exe" resources.qrc -o resources_rc.py
として、リソースのコンパイルを行う事。
0 件のコメント:
コメントを投稿