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 1148 - Add support for USE_PYTHON3 flag to build PySide Mobility for Python 3
: Add support for USE_PYTHON3 flag to build PySide Mobility for Python 3
Status: UNCONFIRMED
Product: PySide Mobility
Classification: Unclassified
Component: PySide.Mobility
: HEAD
: PC Linux
: P5 enhancement
Assigned To: Lauro Moura
:
:
:
  Show dependency treegraph
 
Reported: 2012-02-21 18:42 EET by Thomas Perl
Modified: 2012-03-08 16:57 EET (History)
0 users

See Also:


Attachments
Patch against PySide Mobility by using Shiboken as example (15.75 KB, patch)
2012-02-21 18:43 EET, Thomas Perl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Perl 2012-02-21 18:42:16 EET
Shiboken's CMakeLists.txt makes use of the USE_PYTHON3 option to build it for
Python 3. I've made similar changes to PySide Mobility's CMakeLists.txt (after
copying the required CMake Modules from the Shiboken folder. However, I get an
error while building (Python.h not found), the snippet of the error:

Scanning dependencies of target MultimediaKit
[ 14%] [ 15%] [ 17%] [ 18%] Building CXX object
QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/QtMobility/MultimediaKit/multimediakit_module_wrapper.cpp.o
Building CXX object
QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/QtMobility/MultimediaKit/qabstractaudiodeviceinfo_wrapper.cpp.o
Building CXX object
QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/QtMobility/MultimediaKit/qabstractaudioinput_wrapper.cpp.o
Building CXX object
QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/QtMobility/MultimediaKit/qabstractaudiooutput_wrapper.cpp.o
In file included from
/home/thp/src/pyside/mobility/build/QtMobility/MultimediaKit/QtMobility/MultimediaKit/multimediakit_module_wrapper.cpp:25:0:
/home/thp/pkg/pyside-sandbox-python3/include/shiboken/sbkpython.h:26:20: fatal
error: Python.h: No such file or directory
compilation terminated.
In file included from
/home/thp/pkg/pyside-sandbox-python3/include/shiboken/shiboken.h:26:0,
                 from
/home/thp/src/pyside/mobility/build/QtMobility/MultimediaKit/QtMobility/MultimediaKit/qabstractaudioinput_wrapper.cpp:29:
/home/thp/pkg/pyside-sandbox-python3/include/shiboken/sbkpython.h:26:20: fatal
error: Python.h: No such file or directory
compilation terminated.
In file included from
/home/thp/pkg/pyside-sandbox-python3/include/shiboken/shiboken.h:26:0,
                 from
/home/thp/src/pyside/mobility/build/QtMobility/MultimediaKit/QtMobility/MultimediaKit/qabstractaudiodeviceinfo_wrapper.cpp:29:
/home/thp/pkg/pyside-sandbox-python3/include/shiboken/sbkpython.h:26:20: fatal
error: Python.h: No such file or directory
compilation terminated.
In file included from
/home/thp/pkg/pyside-sandbox-python3/include/shiboken/shiboken.h:26:0,
                 from
/home/thp/src/pyside/mobility/build/QtMobility/MultimediaKit/QtMobility/MultimediaKit/qabstractaudiooutput_wrapper.cpp:29:
/home/thp/pkg/pyside-sandbox-python3/include/shiboken/sbkpython.h:26:20: fatal
error: Python.h: No such file or directory
compilation terminated.
make[2]: ***
[QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/QtMobility/MultimediaKit/multimediakit_module_wrapper.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/QtMobility/MultimediaKit/qabstractaudioinput_wrapper.cpp.o]
Error 1
make[2]: ***
[QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/QtMobility/MultimediaKit/qabstractaudiodeviceinfo_wrapper.cpp.o]
Error 1
make[2]: ***
[QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/QtMobility/MultimediaKit/qabstractaudiooutput_wrapper.cpp.o]
Error 1
make[1]: *** [QtMobility/MultimediaKit/CMakeFiles/MultimediaKit.dir/all] Error
2
make: *** [all] Error 2


I'll attach the patch against PySide Mobility that I used to get this far.
Comment 1 Thomas Perl 2012-02-21 18:43:28 EET
Created attachment 490 [details]
Patch against PySide Mobility by using Shiboken as example
Comment 2 Matti Airas 2012-03-08 16:57:26 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!