From eca2d3cd6daaaa88b783efd33dc36c7df1cf73bd Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 12 May 2011 18:58:59 -0300 Subject: Fix QColor wrapper compilation on Qt4.5. --- PySide/QtGui/typesystem_gui_common.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'PySide') diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index 77d1dbb0d..6e7fb1c4f 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -1143,6 +1143,7 @@ %PYARG_0 = Py_BuildValue("(N(fffff))", createFunction, c, m, y, k, a); break; } + #if QT_VERSION >= 0x040600 case QColor::Hsl: { qreal h, s, l, a; @@ -1151,6 +1152,7 @@ %PYARG_0 = Py_BuildValue("(N(ffff))", createFunction, h, s, l, a); break; } + #endif default: %PYARG_0 = 0; } -- cgit v1.2.3