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 3 - Compile fails
: Compile fails
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: BoostPythonGenerator
: 0.1.0
: PC Linux
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2009-08-18 20:35 EEST by Chris Hills
Modified: 2009-10-14 10:57 EEST (History)
6 users (show)

See Also:


Attachments
Patch for Boost 1.39.0 (12.38 KB, patch)
2009-08-19 06:39 EEST, Chris Hills
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hills 2009-08-18 20:35:01 EEST
With pyside 0.1.4.5 on linux x86 with Qt 4.5.2 and Python 4.6 the following
compilation error can be observed:-

Scanning dependencies of target pysidebase
[  0%] Building CXX object base/CMakeFiles/pysidebase.dir/qptr.cpp.o
[  0%] Building CXX object base/CMakeFiles/pysidebase.dir/qptr_cleanup.cpp.o
[  0%] Building CXX object
base/CMakeFiles/pysidebase.dir/abstract_qobject_connection.cpp.o
/tmp/pyside-0.1.4.5/base/abstract_qobject_connection.cpp: In member function
‘virtual void PySide::signal_slot_connection::call_slot(const
boost::python::list&) const’:
/tmp/pyside-0.1.4.5/base/abstract_qobject_connection.cpp:95: error: no match
for ‘operator*’ in ‘*boost::python::tuple(((const boost::python::list&)((const
boost::python::list*)(& args))))’
/home/chaz/Libraries/include/boost/python/object_operators.hpp:98: note:
candidates are: boost::python::api::object boost::python::api::operator*(const
boost::python::api::object&, const boost::python::api::object&)
make[2]: *** [base/CMakeFiles/pysidebase.dir/abstract_qobject_connection.cpp.o]
Error 1
make[1]: *** [base/CMakeFiles/pysidebase.dir/all] Error 2
make: *** [all] Error 2
Comment 1 renato filho 2009-08-18 21:27:56 EEST
For compile with 1.38 you need apply the patchs found in our
site.(http://www.pyside.org/downloads/) or you can donwload the ubuntu packages
with patchs already applyed from the ubuntu ppa. Or you can use boost.python
from svn.
Comment 2 Chris Hills 2009-08-19 06:39:16 EEST
Created attachment 7 [details]
Patch for Boost 1.39.0
Comment 3 Hugo Parente Lima 2009-08-19 13:01:47 EEST
see comment #1
Comment 4 Hugo Parente Lima 2009-08-19 13:02:20 EEST
*** Bug 4 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Burgmer 2009-08-22 09:31:00 EEST
For those who want to build under Debian unstable:

1. Download the two patches from
https://svn.boost.org/trac/boost/changeset/54919 and
https://svn.boost.org/trac/boost/changeset/54923

2. Run

$ apt-get source libboost-python1.39-dev
$ cd boost1.39-1.39.0/
$ patch -p2 < ../changeset_r54919.diff
$ patch -p2 < ../changeset_r54923.diff
$ dpkg-buildpackage -rfakeroot -uc -b

HTH