From 5d24c0de2fabbdc2cf5cb8f4938623980aaa655b Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Tue, 10 Oct 2017 15:57:31 +0200 Subject: Signature: Fix missing constant for 5.10 There is a crash in 5.10 because a signature is not recognized. This is only a warning, but turned into an error for the testing. Should we drop that, eventually? Change-Id: Idd183842575e3890b018c8bc82b6e272e2980b9d Reviewed-by: Friedemann Kleint --- sources/pyside2/PySide2/support/signature/mapping.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sources/pyside2') diff --git a/sources/pyside2/PySide2/support/signature/mapping.py b/sources/pyside2/PySide2/support/signature/mapping.py index 869e9e71e..c9a028dd2 100644 --- a/sources/pyside2/PySide2/support/signature/mapping.py +++ b/sources/pyside2/PySide2/support/signature/mapping.py @@ -228,6 +228,7 @@ def init_QtCore(): "float[][]": FloatMatrix, # 5.9 "PySide2.QtCore.unsigned int": int, # 5.9 Ubuntu "PySide2.QtCore.long long": int, # 5.9, MSVC 15 + "QGenericArgument(nullptr)": QGenericArgument(None), # 5.10 }) try: type_map.update({ -- cgit v1.2.3