aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-25 10:01:21 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-25 12:22:05 +0000
commitc9c3493cb901a2a015b6307ecc3d489efe1e8aaa (patch)
tree97feb7e9335db060898b79c56c1b4f7a2d3c1836
parent02945735a2da5969888c22ffe0796cd0ac677f45 (diff)
PySide6: Fix specification of qPixelFormatCmyk()
Fix warning: Global function 'qPixelFormatCmyk(uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition position,QPixelFormat::TypeInterpretation)' is specified in typesystem, but not defined. This could potentially lead to compilation errors. Amends 6938ca19e7a2b200ee83fdddce3c5908199c1f75. Task-number: PYSIDE-1482 Change-Id: Iaa943dc25e06f5937e4ba8379beca82d523ca704 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit a96317126d48894b7e2c7a4fb01a751aad97280c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
index 817dd7da0..037d4b199 100644
--- a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
+++ b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
@@ -67,7 +67,7 @@
<function signature="qPixelFormatRgba(uchar,uchar,uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::AlphaPremultiplied,QPixelFormat::TypeInterpretation)"/>
<function signature="qPixelFormatGrayscale(uchar,QPixelFormat::TypeInterpretation)"/>
<function signature="qPixelFormatAlpha(uchar,QPixelFormat::TypeInterpretation)"/>
- <function signature="qPixelFormatCmyk(uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition position,QPixelFormat::TypeInterpretation)"/>
+ <function signature="qPixelFormatCmyk(uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::TypeInterpretation)"/>
<function signature="qPixelFormatHsl(uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::TypeInterpretation)"/>
<function signature="qPixelFormatHsv(uchar,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::TypeInterpretation)"/>
<function signature="qPixelFormatYuv(QPixelFormat::YUVLayout,uchar,QPixelFormat::AlphaUsage,QPixelFormat::AlphaPosition,QPixelFormat::AlphaPremultiplied,QPixelFormat::TypeInterpretation,QPixelFormat::ByteOrder)"/>