Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.14.0
-
Fix Version/s: 5.14.1, 5.14.2, 5.15.0 Alpha
-
Component/s: Build tools: uic
-
Labels:None
-
Commits:3f6275960c4da87a18f3740bc3fef68dcf8a65d1 (qt/qtbase/5.14)
Description
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 SomeExternalClass
but it should be:
from lib.some_module import SomeExternalClass