[PyKDE] sip-x11-gpl-4.0pre1 and MacOSX

Phil Thompson phil at riverbankcomputing.co.uk
Sun Oct 19 12:51:00 BST 2003


On Sunday 19 October 2003 10:56 am, Rune Hansen wrote:
> On søndag, okt 19, 2003, at 02:00 Europe/Oslo, Phil Thompson wrote:
> > Thanks for this. A couple of other things for you to try...
> >
> > If you edit qtmod.sip (qtcanvasmod.sip etc) and add "-framework
> > Python" to the
> > LIBS line in the %Makefile section, then run build.py - does that then
> > generate Makefiles with the correct LFLAGS?
>
> No, after edit and build.py,
> qtcanvas/Makefile:
> LFLAGS   = -bundle
> LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/local/qt/lib -framework
> Python -lqt-mt

Ok. Instead can you try adding...

LFLAGS += -framework Python

to the %Makefile sections?

Thanks,
Phil




More information about the PyQt mailing list