@@ -293,14 +293,22 @@ int PythonQtMethodInfo::nameToType(const char* name)
293293 _parameterTypeDict.insert (" GLclampd" , QMetaType::Double);
294294 _parameterTypeDict.insert (" GLdouble" , QMetaType::Double);
295295 _parameterTypeDict.insert (" GLvoid" , QMetaType::Void);
296+
297+ // Pointer-size dependent types
296298 if (QT_POINTER_SIZE == 8 ) {
297299 _parameterTypeDict.insert (" qgl_GLintptr" , QMetaType::LongLong);
298300 _parameterTypeDict.insert (" qgl_GLsizeiptr" , QMetaType::LongLong);
299301 _parameterTypeDict.insert (" size_t" , QMetaType::ULongLong);
302+ _parameterTypeDict.insert (" qintptr" , QMetaType::LongLong);
303+ _parameterTypeDict.insert (" quintptr" , QMetaType::ULongLong);
304+ _parameterTypeDict.insert (" WId" , QMetaType::ULongLong);
300305 } else {
301306 _parameterTypeDict.insert (" qgl_GLintptr" , QMetaType::Int);
302307 _parameterTypeDict.insert (" qgl_GLsizeiptr" , QMetaType::Int);
303308 _parameterTypeDict.insert (" size_t" , QMetaType::UInt);
309+ _parameterTypeDict.insert (" qintptr" , QMetaType::Int);
310+ _parameterTypeDict.insert (" quintptr" , QMetaType::UInt);
311+ _parameterTypeDict.insert (" WId" , QMetaType::UInt);
304312 }
305313
306314#ifdef PYTHONQT_SUPPORT_ML_TYPES
0 commit comments