diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-01-20 10:18:47 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-01-20 13:04:29 +0100 |
| commit | d58be5058cc5b7bda9cffd76512e2888f543f119 (patch) | |
| tree | 8275d9e92f43d95ab1231b3b328ee4e61a598369 /sources/pyside6/PySide6/support/generate_pyi.py | |
| parent | 9577e5029538d26d139673b2a915ce206b50c68d (diff) | |
Fix building against a Qt developer build
Remove redeclarations of QPyTextObject::drawObject(),
QPyTextObject::intrinsicSize() which should be taken from
QTextObjectInterface, fixing:
sources/pyside6/PySide6/qpytextobject.h:58:10: error: ‘virtual void QPyTextObject::drawObject(QPainter*, const QRectF&, QTextDocument*, int, const QTextFormat&)’ can be marked override [-Werror=suggest-override]
sources/pyside6/PySide6/qpytextobject.h:60:12: error: ‘virtual QSizeF QPyTextObject::intrinsicSize(QTextDocument*, int, const QTextFormat&)’ can be marked override [-Werror=suggest-override]
cc1plus: all warnings being treated as errors
Change-Id: I904ee7b66b738438f96cdaa8a934a10c4fe7d5a6
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/support/generate_pyi.py')
0 files changed, 0 insertions, 0 deletions
