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 352 - PySide cannot be built against non-Apple Python installations
: PySide cannot be built against non-Apple Python installations
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: Macintosh Mac OS
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-10 16:29 EEST by Robert Kern
Modified: 2010-10-13 13:48 EEST (History)
8 users (show)

See Also:


Attachments
Patches for PySide and Shiboken. (985 bytes, application/zip)
2010-09-10 16:29 EEST, Robert Kern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Kern 2010-09-10 16:29:34 EEST
Created attachment 85 [details]
Patches for PySide and Shiboken.

The CMake configuration for PySide and Shiboken use the PYTHON_LIBRARIES
variable to link against Python. This is not the correct way to link against
Python on OS X. Instead of specifying a library or the framework, one simply
uses the flag "-undefined dynamic_lookup". The symbols will be resolved at
runtime when the extension module loads. Attached are patches to Shiboken and
PySide to do this. I am not entirely sure that it is kosher to do this for
Shiboken. If libshiboken is only intended to be used by Python extension
modules, then it is fine; otherwise, we may need to find a different way to
link it to the appropriate Python framework.
Comment 1 renato filho 2010-09-21 15:55:27 EEST
fixed on shiboken commit:
commit c8cc5c1c819f23a3f98fbcc05cff3a15714f31d0
Author: renatofilho <renato.filho@openbossa.org>
Date:   Tue Sep 21 15:44:39 2010 -0300


pyside commit:
commit c41f0dc385335890cacdb830054e24d34acd0246
Author: renatofilho <renato.filho@openbossa.org>
Date:   Tue Sep 21 15:46:39 2010 -0300
Comment 2 renato filho 2010-10-13 13:48:37 EEST
released on PySide 0.4.2