[PySide] setup.py patch for OS X

Matthew Brett matthew.brett at gmail.com
Tue Nov 20 03:09:00 CET 2012


On Mon, Nov 19, 2012 at 5:10 PM, Christian Tismer <tismer at stackless.com> wrote:
> Hi again,
> Install-hell hits me again. :-(
> I uninstalled my homebrew version and tried to make sure that
> the new version from Matthew Bratt works for me. But it doesn't.
> I used his version of setup.py after removal and installing
> of Qt 4.8.3 into /Library/Frameworks and /Developer/Qt/Applications
> as the default is.
> No changes to any path related stuff in ~/.profile .
> When trying the build (on OS X 10.8.2), I get the following error:
> Linking CXX executable shiboken
> ld: framework not found QtCore
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [generator/shiboken] Error 1
> make[1]: *** [generator/CMakeFiles/shiboken.dir/all] Error 2
> make: *** [all] Error 2
> error: Error compiling shiboken
> (pydica)minimax:PySide-1.1.2 tismer$
> This is actually the very same problem that hit me since days and made me
> try Homebrew,
> which admittedly has its other shortcomings.
> /Library/Frameworks is on the path, and QtCore can be seen from there.
> Can somebody enlighten me what's wrong here?
> The patched setup.py should work on a standard installation, before I try to
> improve it and make it more flexible.
> Is that due to the fact that Matt uses OS X 10.6, as I think to recall?

Yes, that's right - I'm on 10.6 on a couple of boxes, but I have a
10.7 - I'll give it a try.

It would be very good to get it working across the standard setups.



More information about the PySide mailing list