[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Build PyQt4 and PyQt3 in the same python
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2005-12-23 12:05:57
Message-ID: 200512231205.58007.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

On Friday 23 December 2005 11:57 am, Andreas Pakulat wrote:
> Hi,
>
> even though I now know how to execute another python for a project in
> eric3, I'd like to do the following:
>
> Build Qt 3.3.5 + Python 2.3.5 into $HOME/pyqt
> Then install sip-snapshot with that python
> Then qscintilla into $HOME/pyqt
> And then PyQt3 should go, unfortunately I get:
>
>   File "configure.py", line 56, in ?
>     if sipcfg.qt_version == 0:
>   File "/home/andreas/pyqt/lib/python2.3/site-packages/sipconfig.py", line
> 173, in __getattr__ raise AttributeError, "\"%s\" is not a valid
> configuration value or user option" % name AttributeError: "qt_version" is
> not a valid configuration value or user option
>
> When executing python configure.py (with adjusted PATH and QTDIR to
> $HOME/pyqt)
>
> No I guess sip-snapshot is not working well together with PyQt3 but it
> is needed for PyQt4, so there I have a dilemma: sip always installs in
> $HOME/pyqt/lib/python2.3/site-packages and thus I cannot have both sips
> in there at the same time, I think.
>
> Thus the question: Is it possible to install PyQt4 and PyQt3 with the
> same python? If so how?

You must use a PyQt3 snapshot.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic