PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 567 - Compilation error - PySide
: Compilation error - PySide
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC Linux
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-12-23 07:03 EET by Piotr Sokołowski
Modified: 2011-01-06 16:19 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Sokołowski 2010-12-23 07:03:02 EET
I've tested on two systems (Debian Squeeze and fresh install of Ubuntu 10.10),
so it's not look like problem with my configuration. 
Before yesterday  evening commits, I have no problems with compiling PySide.

In following messages, file paths are trimmed to important part.

Debian Squeeze error messages:

[ 21%] Building CXX object
PySide/QtNetwork/CMakeFiles/QtNetwork.dir/PySide/QtNetwork/qhttp_wrapper.cpp.o
In file included from include/shiboken/shiboken.h:36,
                 from
pyside/build/PySide/QtNetwork/PySide/QtNetwork/qhttp_wrapper.cpp:29:
include/shiboken/typeresolver.h: In static member function ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QList<QSslError>&]’:
pyside/build/PySide/QtNetwork/PySide/QtNetwork/qhttp_wrapper.cpp:1951:  
instantiated from here
include/shiboken/typeresolver.h:75: error: invalid conversion from ‘PyObject*
(*)(const QList<QSslError>&)’ to ‘PyObject* (*)(void*)’
include/shiboken/typeresolver.h:75: error:   initializing argument 2 of ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createTypeResolver(const char*,
PyObject* (*)(void*), void (*)(PyObject*, void**), PyTypeObject*)’
include/shiboken/typeresolver.h: In function ‘void
Shiboken::pythonToValueType(PyObject*, void**) [with T = QList<QSslError>&]’:
include/shiboken/typeresolver.h:75:   instantiated from ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QList<QSslError>&]’
pyside/build/PySide/QtNetwork/PySide/QtNetwork/qhttp_wrapper.cpp:1951:  
instantiated from here
include/shiboken/typeresolver.h:36: error: forming pointer to reference type
‘QList<QSslError>&’


[ 35%] Building CXX object
PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qgraphicsscene_wrapper.cpp.o
In file included from include/shiboken/shiboken.h:36,
                 from
pyside/build/PySide/QtGui/PySide/QtGui/qgraphicsscene_wrapper.cpp:29:
include/shiboken/typeresolver.h: In static member function ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QList<QRectF>&]’:
pyside/build/PySide/QtGui/PySide/QtGui/qgraphicsscene_wrapper.cpp:5900:  
instantiated from here
include/shiboken/typeresolver.h:75: error: invalid conversion from ‘PyObject*
(*)(const QList<QRectF>&)’ to ‘PyObject* (*)(void*)’
include/shiboken/typeresolver.h:75: error:   initializing argument 2 of ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createTypeResolver(const char*,
PyObject* (*)(void*), void (*)(PyObject*, void**), PyTypeObject*)’
include/shiboken/typeresolver.h: In function ‘void
Shiboken::pythonToValueType(PyObject*, void**) [with T = QList<QRectF>&]’:
include/shiboken/typeresolver.h:75:   instantiated from ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QList<QRectF>&]’
pyside/build/PySide/QtGui/PySide/QtGui/qgraphicsscene_wrapper.cpp:5900:  
instantiated from here
include/shiboken/typeresolver.h:36: error: forming pointer to reference type
‘QList<QRectF>&’

Ubuntu 10.10 error messages:

[ 24%] Building CXX object
PySide/QtNetwork/CMakeFiles/QtNetwork.dir/PySide/QtNetwork/qtnetwork_module_wrapper.cpp.o
In file included from include/shiboken/shiboken.h:36,
                 from
pyside/build/PySide/QtNetwork/PySide/QtNetwork/qtnetwork_module_wrapper.cpp:26:
include/shiboken/typeresolver.h: In static member function ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QList<QSslError>&]’:
pyside/build/PySide/QtNetwork/PySide/QtNetwork/qtnetwork_module_wrapper.cpp:149:
  instantiated from here
include/shiboken/typeresolver.h:75: error: invalid conversion from ‘PyObject*
(*)(const QList<QSslError>&)’ to ‘PyObject* (*)(void*)’
include/shiboken/typeresolver.h:75: error:   initializing argument 2 of ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createTypeResolver(const char*,
PyObject* (*)(void*), void (*)(PyObject*, void**), PyTypeObject*)’
include/shiboken/typeresolver.h: In function ‘void
Shiboken::pythonToValueType(PyObject*, void**) [with T = QList<QSslError>&]’:
include/shiboken/typeresolver.h:75:   instantiated from ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QList<QSslError>&]’
pyside/build/PySide/QtNetwork/PySide/QtNetwork/qtnetwork_module_wrapper.cpp:149:
  instantiated from here
include/shiboken/typeresolver.h:36: error: forming pointer to reference type
‘QList<QSslError>&’

[ 43%] Building CXX object
PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qlistview_wrapper.cpp.o
In file included from include/shiboken/shiboken.h:36,
                 from
pyside/build/PySide/QtGui/PySide/QtGui/qlistview_wrapper.cpp:29:
include/shiboken/typeresolver.h: In static member function ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QList<QModelIndex>&]’:
pyside/build/PySide/QtGui/PySide/QtGui/qlistview_wrapper.cpp:5121:  
instantiated from here
include/shiboken/typeresolver.h:75: error: invalid conversion from ‘PyObject*
(*)(const QList<QModelIndex>&)’ to ‘PyObject* (*)(void*)’
include/shiboken/typeresolver.h:75: error:   initializing argument 2 of ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createTypeResolver(const char*,
PyObject* (*)(void*), void (*)(PyObject*, void**), PyTypeObject*)’
include/shiboken/typeresolver.h: In function ‘void
Shiboken::pythonToValueType(PyObject*, void**) [with T = QList<QModelIndex>&]’:
include/shiboken/typeresolver.h:75:   instantiated from ‘static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QList<QModelIndex>&]’
pyside/build/PySide/QtGui/PySide/QtGui/qlistview_wrapper.cpp:5121:  
instantiated from here
include/shiboken/typeresolver.h:36: error: forming pointer to reference type
‘QList<QModelIndex>&’
Comment 1 Matti Airas 2010-12-23 08:21:18 EET
Thanks for the report.

Since Ubuntu is the platform most of the OpenBossa developers use anyway, I
suppose this would've been fixed soon in any case, but I'm prioritizing this
P2, just in case.
Comment 2 Hugo Parente Lima 2010-12-27 13:59:25 EET
What's your versions for:

Qt, cmake, python and why not... gcc ?

Did you have any previous instalations of PySIde?

Are you compiling and installing everything on a sandbox or on your system?
Comment 3 Piotr Sokołowski 2010-12-28 03:56:41 EET
Sorry for delay (Christmas and so on). I've checked, and now after last commits
it's compiling without any problems, so it's seems that was temporary problem. 

My configuration is:
Debian:
Qt - 4.6.3
cmake - 2.8.2
python - 2.6.6
gcc - 4.4.5

Ubuntu:
Qt - 4.7.0
cmake - 2.8.2
python - 2.6.6
gcc - 4.4.5
Comment 4 Hugo Parente Lima 2010-12-28 10:26:58 EET
Ok, thanks.
Comment 5 renato filho 2011-01-06 16:19:34 EET
released on beta3