diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-07-31 11:09:29 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-08-01 11:24:34 +0200 |
| commit | afaa32e287d1c46168e80cc186d6f560f954dec3 (patch) | |
| tree | c3107d4e8bd878785a6e80f8a9778ac8cd55fc53 /sources/pyside6/PySide6 | |
| parent | 5ffee9e3f7ce7b1c812fa6b089eb2bb0059233e7 (diff) | |
Clean up some unused suppression warnings
Pick-to: 6.5
Change-Id: I261ec7ec933e21658d357ad1ffbeb4de5b84d13f
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6')
5 files changed, 2 insertions, 36 deletions
diff --git a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml index b755dfff0..e7a30ff9a 100644 --- a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml +++ b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml @@ -3375,7 +3375,6 @@ <suppress-warning text="^Anonymous enum.*does not have a type entry.*$"/> <suppress-warning text="Visibility of function '*' modified in class '*'"/> - <suppress-warning text="hiding of function '*' in class '*'"/> <suppress-warning text="Shadowing: *"/> <suppress-warning text="^namespace '.*' does not have a type entry.*$"/> <!-- QCborStreamReader: Suppress warnings about 32/64bit signatures not found depending on qsizetype --> diff --git a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml index 5d84c689d..c5336f44e 100644 --- a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml +++ b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml @@ -1438,8 +1438,6 @@ </inject-code> </add-function> </object-type> - <!-- Qt5.5: suppress this nameless enum --> - <suppress-warning text="enum 'QWheelEvent::DefaultDeltasPerStep' does not have a type entry or is not an enum"/> <object-type name="QWindowStateChangeEvent" copyable="false" polymorphic-id-expression="%1->type() == QEvent::WindowStateChange"> <add-function signature="__repr__" return-type="PyObject"> @@ -2514,18 +2512,6 @@ </add-function> </value-type> - <suppress-warning text="template baseclass 'QListSpecialMethods<T>' of 'QList' is not known"/> - <suppress-warning text="template baseclass 'QGenericMatrix<float>' of '*' is not known"/> - - <!-- Qt5: note: the unnamed enum cannot be rejected by - <rejection class="QMatrix4x4" enum-name="enum_1"/> - Instead, we have to suppress the warning. Why that? - - Compare also the note at the beginning of typesystem_widgets_common.xml . - This seems to be a related problem with unnamed structures in shiboken. - --> - <suppress-warning text="enum 'QMatrix4x4::enum_1' is specified in typesystem, but not declared"/> - <object-type name="QSessionManager"> <extra-includes> </extra-includes> @@ -2533,9 +2519,6 @@ <!-- ### --> </object-type> - <!-- This enum is present on QtCore --> - <suppress-warning text="enum 'QCoreApplication::ApplicationFlags' is specified in typesystem, but not declared"/> - <!-- Qt5: here the new QWindow stuff and what it pulls in --> <object-type name="QBackingStore"/> <object-type name="QSurface"> diff --git a/sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml b/sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml index 4fd7f7f24..19770dacf 100644 --- a/sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml +++ b/sources/pyside6/PySide6/QtOpenGL/typesystem_opengl.xml @@ -716,6 +716,4 @@ </object-type> </object-type> - <suppress-warning text="^There's no user provided way.*QOpenGLFunctions_\d_\d.*::glIndex.*$"/> - </typesystem> diff --git a/sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml b/sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml index 1894a8bc6..0926b9b25 100644 --- a/sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml +++ b/sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml @@ -41,7 +41,8 @@ <suppress-warning text="^.*Typedef used on signal QRemoteObject.*$"/> <suppress-warning text="^QRemoteObjectPendingCallWatcher inherits from a non polymorphic type.*$"/> - <suppress-warning text="Enum 'QRemoteObjectReplica::ConstructorType' (class: QRemoteObjectReplica) does not have a type entry"/> + <suppress-warning text="^Enum 'QRemoteObjectReplica::ConstructorType'.*does not have a type entry.*$"/> + <suppress-warning text="Stripping argument #1 of void QRemoteObjectReplica::QRemoteObjectReplica(QRemoteObjectReplica::ConstructorType) due to unmatched type "QRemoteObjectReplica::ConstructorType" with default expression "DefaultConstructor"."/> <suppress-warning text="skipping field 'QRemoteObjectReplica::d_impl' with unmatched type 'QSharedPointer'"/> <!-- QtNetwork is pulled in via QtRemoteObjectsDepends. --> <suppress-warning text="^Scoped enum 'Q(Ocsp)|(Dtls).*' does not have a type entry.*$"/> diff --git a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml index 316893e76..784544a9f 100644 --- a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml +++ b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml @@ -3373,21 +3373,6 @@ <!-- The above entries may be present in the system or not. Keep this section organized. --> - <!-- This enum is present on QtCore --> - <suppress-warning text="enum 'QCoreApplication::ApplicationFlags' is specified in typesystem, but not declared"/> - <suppress-warning text="QGraphicsEllipseItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsItemGroup::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsItem::UserType' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsLineItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsPathItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsPixmapItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsPolygonItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsProxyWidget::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsRectItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsSimpleTextItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsSvgItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsTextItem::Type' does not have a type entry or is not an enum"/> - <suppress-warning text="QGraphicsWidget::Type' does not have a type entry or is not an enum"/> <suppress-warning text="signal 'activated' in class 'QCompleter' is overloaded."/> <suppress-warning text="signal 'highlighted' in class 'QCompleter' is overloaded."/> </typesystem> |
