[PyQt] How to compile with PyQt5?
Jacob Floyd
cognifloyd at gmail.com
Sat Jul 26 23:07:25 BST 2014
On Thu, Jul 24, 2014 at 11:36 PM, Kovid Goyal <kovid at kovidgoyal.net> wrote:
> 1600 lines? That's crazy. Here's an extract from calibre's build system.
>
[snip]
> You will find this code in the master and qt5 brnaches of calibre in
> setup/build_environment.py and setup/extensions.py
>
Thanks Kovid!
hluk added a build script[1] (133 lines total = 97 lines in configure.py[2]
+ 36 lines in build.sh[3]) that supports both PyQt4 and PyQt5, now the only
problem on my system is that I hit a segmentation fault whenever I
build/run the test with PyQt5. But that should probably be a separate
thread.
Anyway, its short and it builds just fine[4], so maybe it can be a short
example for others.
Cheers,
Jacob Floyd
[1] https://github.com/hluk/FakeVim/issues/5#issuecomment-50162049
[2] https://github.com/hluk/FakeVim/blob/master/python/configure.py
[3] https://github.com/hluk/FakeVim/blob/master/python/build.sh
[4] https://github.com/hluk/FakeVim/issues/5#issuecomment-50212412
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140726/d8b59733/attachment.html>
More information about the PyQt
mailing list