Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0
-
None
-
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
Attachments
For Gerrit Dashboard: QTBUG-81073 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
285001,11 | uic: add customwidget imports support for python | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |