diff --git a/PySide/QtCore/glue/qcoreapplication_impl.cpp b/PySide/QtCore/glue/qcoreapplication_impl.cpp index dff267f..4bc84d2 100644 --- a/PySide/QtCore/glue/qcoreapplication_impl.cpp +++ b/PySide/QtCore/glue/qcoreapplication_impl.cpp @@ -1,4 +1,4 @@ -PyObject* SbkQCoreApplication_New(PyTypeObject *type, PyObject *args, PyObject*) +PyObject* SbkQCoreApplication_New(Shiboken::SbkBaseWrapperType* type, PyObject* args, PyObject*) { int numArgs = PyTuple_GET_SIZE(args); if (numArgs != 1) { diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml index 9047677..f9302cb 100644 --- a/PySide/QtCore/typesystem_core.xml +++ b/PySide/QtCore/typesystem_core.xml @@ -1443,7 +1443,7 @@ - cptr = new QVariant(Shiboken::Converter<QVariant>::toCpp(%PYARG_1)); + cptr = new %TYPE(%CONVERTTOCPP[QVariant](%PYARG_1));