diff --git a/python/core/conversions.sip b/python/core/conversions.sip index 09ee252ab8b8..f229f8d3f9f0 100644 --- a/python/core/conversions.sip +++ b/python/core/conversions.sip @@ -37,7 +37,7 @@ template #if (SIP_VERSION >= 0x040900) #define sipClass_QString ((sipWrapperType *) sipTypeAsPyTypeObject (sipType_QString)) #endif -#if (SIP_VERSION >= 0x040900 && SIP_VERSION < 0x040c00) +#if (SIP_VERSION >= 0x040900 && SIP_VERSION <= 0x040c00) #define sipClass_QVariant ((sipWrapperType *) sipTypeAsPyTypeObject (sipType_QVariant)) #endif %End