diff options
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |