- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    5.14.0
- 
    None
- 
        3f6275960c4da87a18f3740bc3fef68dcf8a65d1 (qt/qtbase/5.14)
When a ui file contains custom widgets:
<customwidgets> <customwidget> <class>SomeExternalClass</class> <extends>QWidget</extends> <header>lib.some_module.h</header> <container>1</container> </customwidget> </customwidgets>
- You can see saving the location from the designer adds the .h to the directory location
- uic -g python will generate the code:
import SomeExternalClassbut it should be: from lib.some_module import SomeExternalClass