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

2009-12-22 Thread Albert Chin
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++: QMAKE_LINK_SHLIB_CMD= rm -f objects.o; \ ld -r -o objects.o -bnogc $(OFILES); \ rm -f lib.exp; /usr/ccs/bin/nm -BCpg objects.o | \ awk '

Re: [PyQt] Simple QGV crash

2009-12-22 Thread Jason H
Well I got SIP 12/19 and PyQt 12/20 snapshots. started up the Qt command prompt (QTDir=c:\qt\2009.05\qt, makespec=win32-g++) sip\configure.py -p win32-g++ sip\ming32-make sip\ming32-make install pyqt\configure.py -p win32-g++ pyqt\ming32-make pyqt\ming32-make install Using python25, had a work

Re: [PyQt] pyuic4 and python3

2009-12-22 Thread Phil Thompson
On Mon, 21 Dec 2009 15:10:35 -0500, Mitchell Model wrote: > When I installed PyQt4 using Python3, the pyuic4 script installed uses > pythonw, not python3 (or pythonw3 if that exists). As a result, it > used python 2.6, which did not include a PyQt installation, and it > couldn't find PyQt4.

Re: [PyQt] Simple QGV crash

2009-12-22 Thread Phil Thompson
On Mon, 21 Dec 2009 18:18:11 -0800 (PST), Jason H wrote: > This used to work, but my latest sip&pyqt snapshots crashes. Which would they be? > import sys > from PyQt4.QtCore import * > from PyQt4.QtGui import * > > class Main(QGraphicsView): > def __init__(self, parent=None): > QGr

Re: [PyQt] Support for Qt v4.6

2009-12-22 Thread Attila Csipa
On Tuesday 22 December 2009 11:06:24 Giovanni Bajo wrote: > That's why you should cross-compile. The SIP/PyQt build system does not > support cross-compilation, but it can be achieved, by manually editing the > generated Makefiles. Oh, but I am cross-compiling, through scratchbox[1]. It works like

Re: [PyQt] Support for Qt v4.6

2009-12-22 Thread Giovanni Bajo
On Mon, 21 Dec 2009 17:05:00 +0100, Attila Csipa wrote: > On Monday 21 December 2009 16:35:43 Phil Thompson wrote: >> Looks like you aren't using a current SIP snapshot. > > Indeed, I missed the comment about sipError in the SIP changelog. As > always, > it's best to use paired SIP/PyQt snapshot