@@ -293,14 +293,22 @@ int PythonQtMethodInfo::nameToType(const char* name)
293
293
_parameterTypeDict.insert (" GLclampd" , QMetaType::Double);
294
294
_parameterTypeDict.insert (" GLdouble" , QMetaType::Double);
295
295
_parameterTypeDict.insert (" GLvoid" , QMetaType::Void);
296
+
297
+ // Pointer-size dependent types
296
298
if (QT_POINTER_SIZE == 8 ) {
297
299
_parameterTypeDict.insert (" qgl_GLintptr" , QMetaType::LongLong);
298
300
_parameterTypeDict.insert (" qgl_GLsizeiptr" , QMetaType::LongLong);
299
301
_parameterTypeDict.insert (" size_t" , QMetaType::ULongLong);
302
+ _parameterTypeDict.insert (" qintptr" , QMetaType::LongLong);
303
+ _parameterTypeDict.insert (" quintptr" , QMetaType::ULongLong);
304
+ _parameterTypeDict.insert (" WId" , QMetaType::ULongLong);
300
305
} else {
301
306
_parameterTypeDict.insert (" qgl_GLintptr" , QMetaType::Int);
302
307
_parameterTypeDict.insert (" qgl_GLsizeiptr" , QMetaType::Int);
303
308
_parameterTypeDict.insert (" size_t" , QMetaType::UInt);
309
+ _parameterTypeDict.insert (" qintptr" , QMetaType::Int);
310
+ _parameterTypeDict.insert (" quintptr" , QMetaType::UInt);
311
+ _parameterTypeDict.insert (" WId" , QMetaType::UInt);
304
312
}
305
313
306
314
#ifdef PYTHONQT_SUPPORT_ML_TYPES
0 commit comments