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

Rune Hansen rune.hansen at viventus.no
Sun Oct 19 11:58:01 BST 2003


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

> What does sys.platform return on the Mac?
>
sys.platform = 'darwin'
> Phil
>

/regards
rune




More information about the PyQt mailing list