I want to create my own custom forms using Python for QGIS, and since some of the forms will share some definitions and objects I would like to have my own classes for all of them. For that, when I try to import my classes in the python logic form file I get this error with the following tries:
- With import comDef I get ImportError: No module named 'comDef'
- With from .comDef import * I get SystemError: Parent module '' not loaded, cannot perform relative import
- With from comDef import * I get ImportError: No module named 'comDef'
These custom forms are located in a folder where the custom python logics and custom classes are.
Can you provide any hint about this issue?