aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-09-21 09:42:43 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-09-21 20:41:03 +0200
commitd696458de994d9fbc06157dfe6df466287a2704b (patch)
treeb4401b79ef1f1b482e4423348bfb7c1f3015466c
parentb00e0c6b56a2b0543dffcbdca951ce59b16fa5ef (diff)
PySide6: Clean the suppressed warnings
Remove obsolete warnings and add new ones. Change-Id: If4b8d1cfcfe858e86079eac32f24c3c65cbcf583 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit dbbbeb3c938be1f3f2a3888845113db1660873a7) Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rw-r--r--sources/pyside6/PySide6/QtCore/typesystem_core_common.xml74
-rw-r--r--sources/pyside6/PySide6/QtDesigner/typesystem_designer.xml1
-rw-r--r--sources/pyside6/PySide6/QtQml/typesystem_qml.xml1
-rw-r--r--sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml5
-rw-r--r--sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml2
5 files changed, 16 insertions, 67 deletions
diff --git a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
index 0166f19cc..2e2755179 100644
--- a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
+++ b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
@@ -3061,82 +3061,22 @@
<enum-type name="Sizes"/>
</object-type>
- <suppress-warning text="Unable to decide type of property: 'QLibrary::LoadHints' in class 'QPluginLoader'"/>
- <suppress-warning text="enum '_ISalnum' does not have a type entry or is not an enum"/>
- <suppress-warning text="enum 'Qt::Initialization' does not have a type entry or is not an enum"/>
+ <suppress-warning text="^.*enum 'Qt::Initialization' does not have a type entry.*$"/>
+ <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="namespace '*' does not have a type entry"/>
- <suppress-warning text="Shadowing: QObject::parent()const and QAbstractItemModel::parent() const"/>
- <suppress-warning text="namespace '*' for enum 'QtMsgType' is not declared"/>
- <suppress-warning text="horribly broken type 'imaxdiv_t'"/>
- <suppress-warning text="horribly broken type '__off64_t'"/>
- <suppress-warning text="horribly broken type 'div_t'"/>
- <suppress-warning text="horribly broken type 'fd_set*'"/>
- <suppress-warning text="horribly broken type 'ldiv_t'"/>
- <suppress-warning text="horribly broken type 'lldiv_t'"/>
- <suppress-warning text="signal '*' in class '*' is overloaded."/>
- <suppress-warning text="enum 'enum_3' does not have a type entry or is not an enum"/>
- <suppress-warning text="Shadowing: QFile::fileName() const and QTemporaryFile::fileName() const"/>
- <suppress-warning text="unhandled enum value: ~0u in Qt::GestureType"/>
- <suppress-warning text="unhandled enum value: (sizeof(void*)&lt;&lt;3) in QSysInfo::Sizes"/>
- <suppress-warning text="unmatched enum ~0u"/>
- <suppress-warning text="unmatched enum (sizeof(void*)&lt;&lt;3)"/>
- <suppress-warning text="^signature 'setCustomType(float)' for function modification in 'QEasingCurve' not found.*$"/>
- <suppress-warning text="enum 'enum_4' does not have a type entry or is not an enum"/>
- <suppress-warning text="enum 'enum_5' does not have a type entry or is not an enum"/>
- <suppress-warning text="enum 'FP_NORMAL' does not have a type entry or is not an enum"/>
<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 -->
<suppress-warning text="^signature 'readStringChunk\(char.*in 'QCborStreamReader' not found.*$"/>
- <!-- this enum is defined on Qt global header but only used in QtGui module -->
- <suppress-warning text="enum 'PM_MessageBoxHeight' does not have a type entry or is not an enum"/>
-
- <!-- this function only exists on Windows -->
- <suppress-warning text="^signature 'winEventFilter(MSG*,long*)' for function modification in 'QCoreApplication' not found.*"/>
-
- <!-- this is necessary to avoid warning on other modules -->
- <suppress-warning text="^signature 'operator*(QByteArray,const char*)' for function modification in 'QByteArray' not found.*"/>
- <suppress-warning text="^signature 'operator+(QByteArray,QString)' for function modification in 'QByteArray' not found.*"/>
-
- <!-- This enum is intenaly used -->
- <suppress-warning text="enum 'PM_CbaIconHeight' does not have a type entry or is not an enum"/>
-
<!-- TODO: this need be removed -->
<suppress-warning text="^skipping function '.*', unmatched return type '.*$"/>
<suppress-warning text="^skipping function '.*', unmatched type '.*$"/>
-
- <suppress-warning text="enum 'q_static_assert_result39' does not have a type entry or is not an enum"/>
- <suppress-warning text="horribly broken type ''"/>
- <suppress-warning text="Pure virtual method 'QTextCodec::convertFromUnicode(const QChar*,int,QTextCodec::ConverterState*)const' must be implement but was completely removed on type system."/>
-
- <!-- Qt5.5: No idea how to get rid of the following five enums, which are moved elsewhere since 5.5: -->
- <suppress-warning text="enum 'QLocale::MeasurementSystem' is specified in typesystem, but not declared"/>
- <suppress-warning text="enum 'QState::RestorePolicy' is specified in typesystem, but not declared"/>
- <!-- <suppress-warning text="enum 'QLocale::FormatType' is specified in typesystem, but not declared"/> -->
- <suppress-warning text="enum 'QAbstractAnimation::DeletionPolicy' is specified in typesystem, but not declared"/>
- <!-- <suppress-warning text="enum 'QAbstractAnimation::State' is specified in typesystem, but not declared"/> -->
- <!-- Qt5.5: we also suppress these warnings, instead of adding wrong enums -->
- <suppress-warning text="enum 'InterfaceType' does not have a type entry or is not an enum"/>
- <suppress-warning text="enum 'TextBoundaryType' does not have a type entry or is not an enum"/>
- <suppress-warning text="enum 'RelationFlag' does not have a type entry or is not an enum"/>
- <suppress-warning text="enum 'Role' does not have a type entry or is not an enum"/>
-
- <!-- Anonymous enum in qtbase/src/corelib/global/qtypeinfo.h -->
- <suppress-warning text="Anonymous enum (Q_COMPLEX_TYPE, ... , Q_RELOCATABLE_TYPE) does not have a type entry"/>
-
- <!-- Another anonymous enum / value pair in in qtbase/src/corelib/kernel/qcoreapplication.h -->
- <suppress-warning text="no matching enum 'QT_VERSION'"/>
- <suppress-warning text="unhandled enum value: QT_VERSION in QCoreApplication::ApplicationFlags from header 'qcoreapplication.h'"/>
- <suppress-warning text="unmatched enum QT_VERSION from header 'qcoreapplication.h'"/>
-
- <suppress-warning text="skipping field 'QSysInfo::WindowsVersion' with unmatched type 'const QSysInfo::WinVersion'"/>
+ <suppress-warning text="skipping field 'QStringConverter::iface' with unmatched type 'QStringConverter::Interface'"/>
+ <suppress-warning text="skipping field 'Qt::Uninitialized' with unmatched type 'Qt::Initialization'"/>
+ <suppress-warning text="skipping field 'State::clearFn' with unmatched type 'void'"/>
<suppress-warning text="template baseclass 'QListSpecialMethods&lt;T&gt;' of 'QList' is not known"/>
+ <suppress-warning text="^.*inherits from a non polymorphic type.*QIODeviceBase.*type discovery based on RTTI is impossible.*$"/>
- <suppress-warning text="skipping field 'QSysInfo::MacintoshVersion' with unmatched type 'QSysInfo::MacVersion'"/>
- <suppress-warning text="skipping field 'QSysInfo::WindowsVersion' with unmatched type 'QSysInfo::MacVersion'"/>
- <suppress-warning text="enum 'QSysInfo::MacVersion' does not have a type entry or is not an enum"/>
- <suppress-warning text="enum 'QSysInfo::WinVersion' does not have a type entry or is not an enum"/>
- <suppress-warning text="enum 'QSysInfo::Endian' is specified in typesystem, but not declared"/>
</typesystem>
diff --git a/sources/pyside6/PySide6/QtDesigner/typesystem_designer.xml b/sources/pyside6/PySide6/QtDesigner/typesystem_designer.xml
index 4235dfc0a..9bdc63d18 100644
--- a/sources/pyside6/PySide6/QtDesigner/typesystem_designer.xml
+++ b/sources/pyside6/PySide6/QtDesigner/typesystem_designer.xml
@@ -134,4 +134,5 @@
<!-- Suppress all QString */int * out parameters -->
<suppress-warning text="^There's no user provided way.*handle the primitive type.*$"/>
<suppress-warning text="^.*skipping abstract function.*QtResourceSet.*$"/>
+ <suppress-warning text="^.*skipping abstract function.*DomUI.*$"/>
</typesystem>
diff --git a/sources/pyside6/PySide6/QtQml/typesystem_qml.xml b/sources/pyside6/PySide6/QtQml/typesystem_qml.xml
index df88fd466..5eb89a62e 100644
--- a/sources/pyside6/PySide6/QtQml/typesystem_qml.xml
+++ b/sources/pyside6/PySide6/QtQml/typesystem_qml.xml
@@ -267,4 +267,5 @@
</object-type>
<!-- Suppress anonymous enum warning -->
<suppress-warning text="Anonymous enum (QmlCurrentSingletonTypeRegistrationVersion) does not have a type entry"/>
+ <suppress-warning text="Enum 'QQmlModuleImportSpecialVersions' does not have a type entry"/>
</typesystem>
diff --git a/sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml b/sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml
index a115a133f..cadf7ec16 100644
--- a/sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml
+++ b/sources/pyside6/PySide6/QtRemoteObjects/typesystem_remoteobjects.xml
@@ -72,4 +72,9 @@
</object-type>
<object-type name="QRemoteObjectSettingsStore"/>
<value-type name="QRemoteObjectSourceLocationInfo"/>
+
+ <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="skipping field 'QRemoteObjectReplica::d_impl' with unmatched type 'QSharedPointer'"/>
</typesystem>
diff --git a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
index eb22a27b2..bd35e1c39 100644
--- a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
+++ b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
@@ -3349,4 +3349,6 @@
<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>