Skip to content

Commit 1d80aae

Browse files
author
gsherman
committed
Fix failure when compiling on OS X with Sip version 4.12.
sipClass_QVariant was undefined so it appears it is still required to be defined at Sip 4.12. This has not been tested on other platforms with this Sip version so may not be a final fix. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15205 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 047a68b commit 1d80aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/core/conversions.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ template <TYPE>
3737
#if (SIP_VERSION >= 0x040900)
3838
#define sipClass_QString ((sipWrapperType *) sipTypeAsPyTypeObject (sipType_QString))
3939
#endif
40-
#if (SIP_VERSION >= 0x040900 && SIP_VERSION < 0x040c00)
40+
#if (SIP_VERSION >= 0x040900 && SIP_VERSION <= 0x040c00)
4141
#define sipClass_QVariant ((sipWrapperType *) sipTypeAsPyTypeObject (sipType_QVariant))
4242
#endif
4343
%End

0 commit comments

Comments
 (0)