diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-07-06 14:56:06 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-07-13 19:13:47 +0200 |
commit | da76aaa3a830de4d71bd403aaaab75b0e0a14f55 (patch) | |
tree | 3bc97813436919500446ed85639369461d5879a6 /sources/pyside6/PySide6/QtCore/typesystem_core_common.xml | |
parent | dd58b46b737e5b0616d790b83cefb9e594433abb (diff) |
Fix signatures of qDebug() and friends
Pick-to: 6.5
Fixes: PYSIDE-2386
Change-Id: I4a3eb40bc597952173718d7326234f6c7a0ea221
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/PySide6/QtCore/typesystem_core_common.xml')
-rw-r--r-- | sources/pyside6/PySide6/QtCore/typesystem_core_common.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml index e8155d41d..36abe0369 100644 --- a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml +++ b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml @@ -45,15 +45,19 @@ <add-function signature="qDebug(const char*)"> <inject-code file="../glue/qtcore.cpp" snippet="use-stream-for-format-security"/> + <modify-argument index="1" pyi-type="str"/> </add-function> <add-function signature="qCritical(const char*)"> <inject-code file="../glue/qtcore.cpp" snippet="use-stream-for-format-security"/> + <modify-argument index="1" pyi-type="str"/> </add-function> <add-function signature="qFatal(const char*)"> <inject-code file="../glue/qtcore.cpp" snippet="qfatal"/> + <modify-argument index="1" pyi-type="str"/> </add-function> <add-function signature="qWarning(const char*)"> <inject-code file="../glue/qtcore.cpp" snippet="use-stream-for-format-security"/> + <modify-argument index="1" pyi-type="str"/> </add-function> <add-function signature="Q_ARG(PyObject *@type@, PyObject *@value@)" |