[PyKDE] deploying universal binaries
V. Armando Sole
sole at esrf.fr
Fri Dec 8 19:33:28 GMT 2006
Hi,
At 07:55 15/11/2006 -0800, Adam Tenderholt wrote:
>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.
It helped :)
Thanks for the hint. I have been able to generate a py2app frozen universal
MacPython PyQt4 application.
I did not modify the sip makefile but the .py generating the Makefile.
Thanks,
Armando
More information about the PyQt
mailing list