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

Rune Hansen rune.hansen at viventus.no
Sun Oct 19 17:21:01 BST 2003


On søndag, okt 19, 2003, at 15:00 Europe/Oslo, Phil Thompson wrote:

> On Sunday 19 October 2003 12:17 pm, you wrote:
>> 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
>
> Hm. There has to be some way to add an additional "library" to .pro 
> files. Can
> you do some more investigation?
>
Well, yes. I'm probably not the right person for this. My C skills are 
close to non existing. I will however make some enquiries about this 
and let you know if I discover something,
> Thanks,
> Phil
>
>

regards
/rune




More information about the PyQt mailing list