Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.14.2
-
None
-
python 3.8.2 (common, not venv), pyside2 5.14.1 from pip
-
-
2f975b39a967cd2ac1c234a200eb6b9c11d8b5b2 (qt/qtbase/dev) 92c19f742d10b7b31dcc9f703aa8d771e661d6ab (qt/qtbase/5.15)
Description
Error:
NameError: name 'QDate' is not defined
Reproduce QDate error:
In QT designer create a MainWindow, place Date/Time Edit widget, in properties of widget change property "MaximumDate" or maybe anything related else.
pyside2-uic a.ui > a.py
Reproduce QGradient error:
It is related with MainWindow's palette. I don't really have idea what I did with palette. Because I had stylesheet that do something same. qss just in case:
QMainWindow {background-color: qlineargradient(spread:pad, x1:0, y1:0.494, x2:1, y2:0.477, stop:0 #e0fae8, stop:1 #D8F3E1);}
Example with both cases attached.
Attachments
Issue Links
- resulted in
-
PYSIDE-1404 Incompatible import of "Object" in compiled UI
- Closed
For Gerrit Dashboard: PYSIDE-1287 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
299123,5 | uic/Python: import all the classes for QtCore and QtGui | dev | qt/qtbase | Status: MERGED | +2 | 0 |
300977,2 | uic/Python: import all the classes for QtCore and QtGui | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |