[PySide] Failing build with newly-compiled PySide2 5.15.1
Stephen Morris
stephen.morris at silvaco.com
Mon Oct 12 13:14:16 CEST 2020
Following an apparently successful build of Qt 5.15.1 and PySide2 5.15.1 from source, I'm now attempting to compile the application which I was previously compiling using version 5.12.5.
I get a slew of error messages involving PySide Properties:
<myproject>_wrapper.cpp: In function ‘int Sbk_icp_RenderWindow_setattro(PyObject*, PyObject*, PyObject*)’:
<myproject>_wrapper.cpp:1984:66: error: ‘PySide::Property’ has not been declared
Shiboken::AutoDecRef pp(reinterpret_cast<PyObject *>(PySide::Property::getObject(self, name)));
^~~~~~~~
<myproject>_wrapper.cpp:1986:24: error: ‘PySide::Property’ has not been declared
return PySide::Property::setValue(reinterpret_cast<PySideProperty *>(pp.object()), self, value);
^~~~~~~~
<myproject>_wrapper.cpp:1986:60: error: ‘PySideProperty’ does not name a type; did you mean ‘QMetaProperty’?
return PySide::Property::setValue(reinterpret_cast<PySideProperty *>(pp.object()), self, value);
^~~~~~~~~~~~~~
QMetaProperty
<myproject>_wrapper.cpp:1986:75: error: expected ‘>’ before ‘*’ token
return PySide::Property::setValue(reinterpret_cast<PySideProperty *>(pp.object()), self, value);
^
<myproject>_wrapper.cpp:1986:75: error: expected ‘(’ before ‘*’ token
return PySide::Property::setValue(reinterpret_cast<PySideProperty *>(pp.object()), self, value);
<myproject>
(
<myproject>_wrapper.cpp:1986:76: error: expected primary-expression before ‘>’ token
return PySide::Property::setValue(reinterpret_cast<PySideProperty *>(pp.object()), self, value);
^
Is this likely to be a problem with my PySide2 build, or do I need to update my project's syntax?
Thank you,
Stephen Morris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20201012/712dd2ad/attachment.html>
More information about the PySide
mailing list