Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
6.4.0.1, 6.4.2
-
None
-
Python 3.11 venv
Description
I'm trying to register my custom widgets for use in Qt Designer using this guide:
The basic example works, but as soon as I try anything practical (with external dependencies) the registration fails.
There is no warning or error message. The widget will simply not show up in Qt Designer.
Some concrete examples that cause the registration to fail include:
- using relative imports in registerXYZ.py
from .custom_widget import CustomWidget
- importing numpy in registerXYZ.py or anywhere else down the import tree
- importing any package that is installed in editable mode