[PyQt] A little trouble developing a conda recipe for PyQt5
Darren Dale
dsdale24 at gmail.com
Sun Aug 17 19:27:19 BST 2014
On Thu, Aug 14, 2014 at 7:52 AM, Phil Thompson <phil at riverbankcomputing.com>
wrote:
> 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.
>
>
For what its worth, I was able to compile Qt-5.3.1 for 64 bits using
MSVC2008, after applying the attached patch. With pyqt5 using that library,
I was able to run qtdemo.py without crashes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140817/6ade8ec4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvc2008.patch
Type: application/octet-stream
Size: 9754 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140817/6ade8ec4/attachment.obj>
More information about the PyQt
mailing list