Re: [PyQt] How to insert literal $ in QMAKE_LINK_SHLIB_CMD sip spec files

2009-12-23 Thread Albert Chin
On Wed, Dec 23, 2009 at 10:03:32AM +, Phil Thompson wrote: On Tue, 22 Dec 2009 20:54:22 -0600, Albert Chin py...@mlists.thewrittenword.com wrote: How do I insert a literal $ in QMAKE_LINK_SHLIB_CMD for sip spec files? What I really want is the following for specs/aix-g

Re: [PyQt] How to insert literal $ in QMAKE_LINK_SHLIB_CMD sip spec files

2009-12-23 Thread Albert Chin
On Wed, Dec 23, 2009 at 10:15:56AM -0600, Albert Chin wrote: If I use $${LITERAL_DOLLAR}, I get the following in siplib/Makefile: $(TARGET): $(OFILES) @echo '#!' sip.exp; \ echo 'initsip' sip.exp rm -f objects.o; ld -r -o objects.o -bnogc ${OFILES}; rm -f lib.exp

[PyQt] Using QMAKE_LINK_SHLIB instead of QMAKE_LINK to link shared libs

2009-12-23 Thread Albert Chin
building PyQt-4.6.2, I get link failures because LINK=g++, not the overridden value from my patch. How do I force LINK to something different for shared libs than programs? -- albert chin (ch...@thewrittenword.com) Index: siputils.py

[PyQt] How to insert literal $ in QMAKE_LINK_SHLIB_CMD sip spec files

2009-12-22 Thread Albert Chin
'{ if ((($$2 == T) || ($$2 == D) || ($$2 == B)) \ (substr($$3,1,1) != .)) { print $$3 } }' | sort -u lib.exp; \ g++ -shared -Wl,-bE:lib.exp -o $(TARGET) $(LFLAGS) \ objects.o $(LIBS); rm objects.o -- albert chin (ch...@thewrittenword.com

[PyKDE] Eric 3.6.1 Python session window

2005-02-17 Thread Albert Chin
(TWW)] on kaoru, Qt-Version 3 Is Qt-Version suppose to be replaced with the PyQt/Qt version we're using? We're using Python-2.3.5/Qt-3.3.4/sip-4.1.1/PyQt-3.13. -- albert chin ([EMAIL PROTECTED]) ___ PyKDE mailing listPyKDE

Re: [PyKDE] Solaris 9 / Sip problem

2004-02-14 Thread Albert Chin
able to import qt successfully. Thanks to Albert Chin for making me see what I was missing. If you ldd your python binary, it should have -lCrun. That's the problem, not that sip isn't linked with -lCrun. This means that *every* C++ Python module will have the problem unless python is linked

Re: [PyKDE] Solaris 9 / Sip problem

2004-02-11 Thread Albert Chin
. If you didn't build Python with the Sun C++ compiler then -lCrun wasn't linked into the python binary and thus the symbol isn't available. -- albert chin ([EMAIL PROTECTED]) ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de

[PyKDE] Passing -spec to qmake

2003-11-04 Thread Albert Chin
the [platform]-g++ specs file). -- albert chin ([EMAIL PROTECTED]) ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde