pyside / PySide

ATTENTION: This project is deprecated, please refer to PySide2
https://wiki.qt.io/PySide2
GNU Lesser General Public License v2.1
291 stars 66 forks source link

Method signature corruption in PySide::getMetaDataFromQObject #142

Closed savinz closed 8 years ago

savinz commented 8 years ago

The following code in PySide::getMetaDataFromQObject :

QMetaMethod method = metaObject->method(i);
const char* methSig = method.methodSignature();

Is taking a pointer to temporary memory. Qt5 QMetaMethod::methodSignature() is returning QByteArray vs Qt4 QMetaMethod::signature() which returned a plain char *.