[PyKDE] PYQT_VERSION handling for eric3

Hans-Peter Jansen hpj at urpla.net
Sat Mar 1 17:12:01 GMT 2003


Hi Detlev,

while trying to install the current eric snapshot on top of current
PyQt snapshot, install.py complains about:

Traceback (most recent call last):
  File "install.py", line 299, in ?
    main(sys.argv)
  File "install.py", line 273, in main
    if PYQT_VERSION[:9] == "snapshot-":
TypeError: unsubscriptable object

which is understandable, because Phil has changed PYQT_VERSION
handling recently.

>>> from qt import PYQT_VERSION
>>> print PYQT_VERSION
197888

I've attached a patch, which got it going for me again...

Bye,
Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric3-qtversion.diff
Type: text/x-diff
Size: 1190 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030301/e47b3800/eric3-qtversion.bin


More information about the PyQt mailing list