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 124 - PySide-shiboken does not compile with Qt4.6
: PySide-shiboken does not compile with Qt4.6
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P2 critical
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-01-20 19:09 EET by Hugo Parente Lima
Modified: 2010-03-24 14:40 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 Hugo Parente Lima 2010-01-20 19:09:57 EET
PySide-shiboken does not compile with Qt4.6.

[ 58%] Building CXX object
PySide/QtCore/CMakeFiles/QtCore.dir/PySide/QtCore/qresource_wrapper.cpp.o
In file included from
/usr/src/packages/BUILD/pyside-shiboken-0.1.20100120/build/PySide/QtCore/PySide/QtCore/pyside_qtcore_python.h:70,
                 from
/usr/src/packages/BUILD/pyside-shiboken-0.1.20100120/build/PySide/QtCore/PySide/QtCore/qresource_wrapper.cpp:32:
/usr/include/QtCore/qscopedpointer.h: In copy constructor
'QResource::QResource(const QResource&)':
/usr/include/QtCore/qresource.h:59:   instantiated from 'static T*
Shiboken::CppObjectCopier<T>::copy(const T&) [with T = QResource]'
/usr/include/shiboken/typeresolver.h:50:   instantiated from 'void*
Shiboken::pythonToValueType(PyObject*) [with T = QResource]'
/usr/include/shiboken/typeresolver.h:84:   instantiated from 'static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QResource]'
/usr/src/packages/BUILD/pyside-shiboken-0.1.20100120/build/PySide/QtCore/PySide/QtCore/qresource_wrapper.cpp:563:
  instantiated from here
/usr/include/QtCore/qscopedpointer.h:170: error: 'QScopedPointer<T,
Cleanup>::QScopedPointer(const QScopedPointer<T, Cleanup>&) [with T =
QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]' is
private
/usr/include/QtCore/qresource.h:59: error: within this context
In file included from /usr/include/shiboken/shiboken.h:42,
                 from
/usr/src/packages/BUILD/pyside-shiboken-0.1.20100120/build/PySide/QtCore/PySide/QtCore/qresource_wrapper.cpp:29:
/usr/include/shiboken/conversions.h: In static member function 'static T*
Shiboken::CppObjectCopier<T>::copy(const T&) [with T = QResource]':
/usr/include/shiboken/typeresolver.h:50:   instantiated from 'void*
Shiboken::pythonToValueType(PyObject*) [with T = QResource]'
/usr/include/shiboken/typeresolver.h:84:   instantiated from 'static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QResource]'
/usr/src/packages/BUILD/pyside-shiboken-0.1.20100120/build/PySide/QtCore/PySide/QtCore/qresource_wrapper.cpp:563:
  instantiated from here
/usr/include/shiboken/conversions.h:86: note: synthesized method
'QResource::QResource(const QResource&)' first required here 
In file included from /usr/include/QtCore/qobject.h:54,
                 from /usr/include/QtCore/qiodevice.h:46,
                 from /usr/include/QtCore/qfile.h:45,
                 from /usr/include/QtCore/qfileinfo.h:45,
                 from /usr/include/QtCore/qdir.h:46,
                 from /usr/include/QtCore/qabstractfileengine.h:45,
                 from
/usr/src/packages/BUILD/pyside-shiboken-0.1.20100120/build/PySide/QtCore/PySide/QtCore/pyside_qtcore_python.h:48,
                 from
/usr/src/packages/BUILD/pyside-shiboken-0.1.20100120/build/PySide/QtCore/PySide/QtCore/qresource_wrapper.cpp:32:
/usr/include/QtCore/qscopedpointer.h: In static member function 'static void
QScopedPointerDeleter<T>::cleanup(T*) [with T = QResourcePrivate]':
/usr/include/QtCore/qscopedpointer.h:100:   instantiated from
'QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QResourcePrivate,
Cleanup = QScopedPointerDeleter<QResourcePrivate>]'
/usr/include/QtCore/qresource.h:59:   instantiated from 'static T*
Shiboken::CppObjectCopier<T>::copy(const T&) [with T = QResource]'
/usr/include/shiboken/typeresolver.h:50:   instantiated from 'void*
Shiboken::pythonToValueType(PyObject*) [with T = QResource]'
/usr/include/shiboken/typeresolver.h:84:   instantiated from 'static
Shiboken::TypeResolver* Shiboken::TypeResolver::createValueTypeResolver(const
char*) [with T = QResource]'
/usr/src/packages/BUILD/pyside-shiboken-0.1.20100120/build/PySide/QtCore/PySide/QtCore/qresource_wrapper.cpp:563:
  instantiated from here
/usr/include/QtCore/qscopedpointer.h:59: error: invalid application of 'sizeof'
to incomplete type 'QResourcePrivate' 
/usr/include/QtCore/qscopedpointer.h:59: error: creating array with negative
size ('-0x000000001')
make[2]: ***
[PySide/QtCore/CMakeFiles/QtCore.dir/PySide/QtCore/qresource_wrapper.cpp.o]
Error 1
make[1]: *** [PySide/QtCore/CMakeFiles/QtCore.dir/all] Error 2
make: *** [all] Error 2
Comment 1 Hugo Parente Lima 2010-01-22 19:20:00 EET
Fixed in commit af9b887b1ee894b92c45a91592e9ed3a5f943299