[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] How to compile with PyQt5?
From:       Jacob Floyd <cognifloyd () gmail ! com>
Date:       2014-07-26 22:07:25
Message-ID: CANBzoe6xE00n+ifqBgO6kjLxxVVow+Yk-2J_bHicO5Hi2ZVZ+Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Jul 24, 2014 at 11:36 PM, Kovid Goyal <kovid@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

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 24, 2014 \
at 11:36 PM, Kovid Goyal <span dir="ltr">&lt;<a href="mailto:kovid@kovidgoyal.net" \
target="_blank">kovid@kovidgoyal.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">1600 \
lines? That&#39;s crazy. Here&#39;s an extract from calibre&#39;s build system.<br>

</blockquote><div>[snip]</div><blockquote class="gmail_quote" style="margin:0px 0px \
0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
 You will find this code in the master and qt5 brnaches of calibre in<br>
setup/build_environment.py and \
setup/extensions.py<br></blockquote><div><br></div><div>Thanks \
Kovid!</div><div><br></div><div>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.</div>

<div><br></div><div>Anyway, its short and it builds just fine[4], so maybe it can be \
a short example for others.</div><div><br></div><div>Cheers,</div><div>Jacob \
Floyd</div><div><br></div><div>[1]  <a \
href="https://github.com/hluk/FakeVim/issues/5#issuecomment-50162049">https://github.com/hluk/FakeVim/issues/5#issuecomment-50162049</a></div>


<div>[2]  <a href="https://github.com/hluk/FakeVim/blob/master/python/configure.py">https://github.com/hluk/FakeVim/blob/master/python/configure.py</a></div><div>[3] \
<a href="https://github.com/hluk/FakeVim/blob/master/python/build.sh">https://github.com/hluk/FakeVim/blob/master/python/build.sh</a><br>


</div><div>[4]  <a href="https://github.com/hluk/FakeVim/issues/5#issuecomment-5021241 \
2">https://github.com/hluk/FakeVim/issues/5#issuecomment-50212412</a></div></div></div></div>



[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic