[PyKDE] sip-x11-gpl-4.0pre1 and MacOSX
Rune Hansen
rune.hansen at viventus.no
Sun Oct 19 13:18:00 BST 2003
On søndag, okt 19, 2003, at 12:50 Europe/Oslo, Phil Thompson wrote:
> 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?
>
Sorry, doesn't seem to work. I added LFLAGS += -framework Python
inbetween the LIBS and SOURCES line of the .sip files. The resulting
Makefile after build.py reads:
LFLAGS = -bundle
LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/local/qt/lib -lqt-mt
> Thanks,
> Phil
>
>
regards
/rune
More information about the PyQt
mailing list