[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] deploying universal binaries
From:       "Adam Tenderholt" <atenderholt () gmail ! com>
Date:       2006-11-15 15:55:57
Message-ID: 7781a1b50611150755x412985f1ncecb80708c211d8c () mail ! gmail ! com
[Download RAW message or body]

I too want to make univeral binaries, but I had trouble finding the
recent thread about building universal binaries.

My plan is the following. Sip can be made into a univeral binary by
editing the siplib/Makefile and adding -arch i386 -arch ppc to the
CXXFLAGS AND LFLAGS. I also did this to the sipgen/Makefile, but I
suspect it's not really necessary. Next backup the macx-g++ directory
located in the mkspecs directory of your Qt4 installation, and add
-arch i386 -arch ppc to the CFLAGS and LFLAGS of the qmake.conf in the
macx-g++ directory. This should cause the PyQt4 configure script to
generate the Makefiles with the correct flags.

Hope this helps.

Adam


On 11/14/06, Phil Thompson <phil@riverbankcomputing.co.uk> wrote:
> > I want to deploy my pyqt4 app on all ppc and i386 macs. I was just going
> > to
> > use BuildApplet that comes with OS to put together the app bundle, but I
> > need all of the shared libraries to be universal binaries. I built qt as a
> > universal binary, but I don't see a flag for building the sip and pyqt
> > modules as universal bins. What obstacles will I run into here? Is this
> > even
> > possible using the MacPython-2.3 that comes with OS X 10.4 (seems like it
> > would be)?
>
> The build system doesn't currently support the creation of universal
> binaries. There was a recent message on the list from somebody who has
> done it though.
>
> Phil
>
> _______________________________________________
> PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic