[PyQt] A little trouble developing a conda recipe for PyQt5

Phil Thompson phil at riverbankcomputing.com
Thu Aug 14 12:52:31 BST 2014

On 14/08/2014 12:37 pm, Darren Dale wrote:
> I have been successful building conda packages for qt5/sip/pyqt5 on 
> 64-bit
> windows, osx, and linux (available at binstar.org/dsdale24, for now). I
> discovered an issue with the pyqt5 package for python-2.7, though, it
> crashed when trying to load a couple of the examples, notably 
> qtdemo.py.
> I'm wondering if this may be related to the fact that I could not build 
> Qt5
> with MSVC2008 (due I think to
> https://bugreports.qt-project.org/browse/QTBUG-35980), and therefore 
> had to
> build Qt5 with MSVC2010, but the sip and pyqt5 python-2.7 packages need 
> to
> be built with MSVC2008. The python-3.4 pyqt5 package, which was built 
> with
> MSVC2010, was able to run qtdemo.py without problems.
> I notice that there is no PyQt5 windows installer for python-2.7 posted 
> on
> the Riverbank website. Could anyone comment? I'm wondering if the 
> issues
> I'm seeing are really due to a compiler mismatch, or if there are some
> other issues such that pyqt5 will not be supported for python-2.7 on
> windows.

The main reason for the lack of installer is problems building QtWebKit 
with MSVC2008. I only see this problem getting worse - Qt will drop 
support for MSVC2008 before support for Python 2.7 comes to an end.


More information about the PyQt mailing list