[PyQt] [Eric] Recipe for parallel installation of PyQt5 and PyQt4 on Windows
phil at riverbankcomputing.com
Sat Jan 18 16:47:16 GMT 2014
On 18-01-2014 2:54 pm, Detlev Offenbach wrote:
> here is a short info about how I got a parallel installation of
> PyQt4/Qt4 and PyQt5/Qt5 for Python3 on Windows using the installers
> provided via the PyQt site.
> 1) Download both installers.
> 2) Install PyQt4
> 3) recommended: Install eric5 and verify, that eric5/PyQt4/Qt4 work
> 4) Open an explorer window, move to the site-packages directory (e.g.
> 5) Make a copy of the PyQt4 directory
> 6) Uninstall PyQt4 so the PyQt5 installer doesn't complain later on.
> 7) Install PyQt5
> 8) Rename the copy of the PyQt4 directory to 'PyQt4'
> 9) Voila.
> My preliminary tests using the eric5 QRegularExpression wizard, which
> invokes a background process using PyQt5, worked fine.
> If further tests of the community don't show severe issues, I would
> like to ask Phil to generate an installer including both PyQt4/Qt4
> PyQt5/Qt5 to make it easier for the community. It seems that most
> people on Windows don't like to compile something.
I don't see how that can work. There can only be one qt.conf file and
it can refer to either the Qt4 libs or the Qt5 libs, but not both.
More information about the PyQt