File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ IF(NOT PYQT4_VERSION_NUM LESS 263941) # 0x040705
43
43
SET (SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} QSETINT_CONVERSION)
44
44
ENDIF (NOT PYQT4_VERSION_NUM LESS 263941)
45
45
46
+ IF (NOT PYQT4_VERSION_NUM LESS 264194) # 0x040802
47
+ SET (SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} QSETTYPE_CONVERSION)
48
+ ENDIF (NOT PYQT4_VERSION_NUM LESS 264194)
49
+
46
50
# core module
47
51
FILE (GLOB sip_files_core core/*.sip)
48
52
set (SIP_EXTRA_FILES_DEPEND ${sip_files_core} )
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ which are not wrapped by PyQt:
15
15
*/
16
16
17
17
%Feature QSETINT_CONVERSION
18
+ %Feature QSETTYPE_CONVERSION
18
19
19
20
%ModuleHeaderCode
20
21
// From Python 2.5, some functions use Py_ssize_t instead of int
@@ -320,7 +321,7 @@ template <TYPE>
320
321
};
321
322
%End
322
323
323
-
324
+ %If (QSETTYPE_CONVERSION)
324
325
template <TYPE>
325
326
%MappedType QSet<TYPE>
326
327
{
@@ -394,8 +395,7 @@ template <TYPE>
394
395
%End
395
396
396
397
};
397
-
398
-
398
+ %End
399
399
400
400
template<TYPE>
401
401
%MappedType QMap<int, QMap<int, TYPE> >
You can’t perform that action at this time.
0 commit comments