[PyQt] Installing multiple versions of PyQt
Florian Bruhin
me at the-compiler.org
Fri May 22 08:07:44 BST 2015
* Detlev Offenbach <detlev at die-offenbachs.de> [2015-05-20 19:31:12 +0200]:
>
>
> On Wednesday 20 May 2015, 10:45:28 Giuseppe Corbelli wrote:
> > On 20/05/2015 09:45, Florian Bruhin wrote:
> > >>> - Use some kind of containers/chroots instead of VMs.
> > >>
> > >> Virtualenv?
> > >
> > > That'd basically be my second idea (multiple installs on the same
> > > system). However that still means I'll have to manage multiple Qt
> > > installs (and multiple PyQt installs which each use the right Qt) on
> > > the same system, which might be hard.
> >
> > Never tried what I'm talking about but if you just install qt4 and qt5
> > systemwide and have different virtualenvs for pyqt4 (its own sip) and pyqt5
> > (its own sip) it should not be a PITA.
>
> That is exactly the kind of setup I am using to test eric (my Python IDE) with various (but not
> all) combinations of Qt, PyQt and Python. I needed it because eric is compatible with Python2
> and 3 and PyQt4/Qt4, PyQt4/Qt5 and PyQt5/Qt5.
Nice! Could you elaborate a bit on how you set this up? Is it
essentially something like this?
- Compile multiple versions of Qt with -developer-build.
- Compile PyQt for each with --qmake=/path/to/qt/bin/qmake
- Symlink the libraries in a virtualenv each (or adjust PYTHONPATH
accordingly)
Florian
--
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150522/d576aba0/attachment.sig>
More information about the PyQt
mailing list