Hi Carlos,

thanks for that package. I’ve just tried it, but unfortunately it doesn’t work. 
I’ve installed the Python 2.6.5 package from python.org and the binary Qt 4.6.3 
Cocoa.

The installer puts the Python package into /Library/Python/2.6/site-packages, 
but for the python.org-package it is 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages. 
If I add the former to my PYTHONPATH, I can import PySide, but not 
PySide.QtCore. Just got a note, that QtCore could not be found. I also tried 
copying the Package to my “real” site-packages. If I try to import 
PySide.QtCore, I get:

>>> import PySide
>>> import PySide.QtCore
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: 
dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PySide/QtCore.so,
 2): no suitable image found.  Did find:
        
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PySide/QtCore.so:
 mach-o, but wrong architecture


Did you use the binary version of Qt or did you compile your own? I still can’t 
compile the current version of pyside (see my mail from Aug 6, 2010).

Cheers,
Stefan


Am 2010-08-10 um 00:17 schrieb Carlos Gonçalves:

> [Disclaimer: I'm a new Mac OS X user (1 month) and therefore my Mac OS X 
> software packaging skills are very close to inexistent.]
> 
> Hi,
> 
> Some of you here on the list may know me for my packaging work by have been 
> providing packages of the whole PySide stack (apiextractor, generatorrunner, 
> shiboken, and pyside) for openSUSE, SUSE Linux, Fedora, and Mandriva in the 
> openSUSE Build Service[1] for quite some time now.
> 
> Today I tried to extend my packaging skills to Mac OS X since:
>  a) there were plenty requests from Mac OS X users.
>  b) quite a number of people tried to compile but failed due to whatever 
> issues they have faced.
> 
> So, at this time of writing I created the most simple (in a technical point 
> of view) package in order to you easily install PySide. This package only 
> includes the necessary files to run PySide, meaning neither headers nor debug 
> symbols got included. If you are interested in giving it a spin, please do so 
> but please also give me feedback about the quality of it (you didn't skip the 
> disclaimer note above did you? ;-))
> 
> A little of info about the environment used during the creation of this 
> package in case it matters somehow:
>  - Mac OS X 10.6.4 (64-bit)
>  - Qt Cocoa 4.6.3 (64-bit)
>  - GCC 4.2.1
>  - PySide stack from mainline
>    * ApiExtractor commit b4dadaa
>    * GeneratorRunner commit 1235869
>    * Shiboken commit 96b70b2
>    * PySide commit 1b4e140
> 
> Temporary download URL: http://www.cgoncalves.info/trash/PySide.pkg
> 
> Happy hacking!
> 
> [1] http://build.opensuse.org
> 
> Carlos Gonçalves
> 
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.openbossa.org/listinfo/pyside
> 

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to