[PyKDE] sip macro expansion

Phil Thompson phil at river-bank.demon.co.uk
Sat Jan 25 17:33:00 GMT 2003

On Saturday 25 January 2003 4:13 pm, Michael Lauer wrote:
> Hi Phil,
> is it possible to escape a '$' as part of a sip .pro-file template?
> E.g. if I want to have a line like LIBS = $$(PRESIP_LIBS)
> (which is a valid qmake construct) to appear in my .pro file, sip
> swallows the first $ because of the macro expansion. If I try with
> $$$(PRESIP_LIBS) it complains about an invalid macro. Is there a way to
> get $$(BLAH) into the resulting .pro - file?

Use a pair of $ for every single $ you want in the output, ie. $$$$(BLAH).


More information about the PyQt mailing list