Details
Description
The report is born as a result of the question: https://stackoverflow.com/questions/55510469 which points out that QFontDatabase is not supported by pyuic5, but by reviewing I observe that the same problem occurs in pyside2-uic.
I have managed to solve it by adding QFontDatabase to class QtGui(ProxyNamespace in pyside2uic/Compiler/qtproxies.py:
class QtGui(ProxyNamespace): class QIcon(ProxyClass): pass class QConicalGradient(ProxyClass): pass class QLinearGradient(ProxyClass): pass class QRadialGradient(ProxyClass): pass class QBrush(ProxyClass): pass class QPainter(ProxyClass): pass class QPalette(ProxyClass): pass class QFont(ProxyClass): pass class QFontDatabase(ProxyClass): pass # <--- this line
It would be great if in the next release they apply my solution.