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

List:       pykde
Subject:    [PyQt] Compile PyQt4 to support both Qt4 and Qt5?
From:       Jacob Floyd <cognifloyd () gmail ! com>
Date:       2014-07-26 22:22:08
Message-ID: CANBzoe68=ThG6GwqTisNCddbf7pwnMGbnym09y4KnT9pJgvPcg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello all,

I see that PyQt4 can be built with either Qt4 or Qt5[1] by configuring it
with the right version of qmake[2]. There is also a way to have PyQt4 and
PyQt5 installed on the same system[3].

However is there a way to either:
* have PyQt4 provide bindings for both Qt4 and Qt5 (I'm guessing that's a
no), or
* have two copies of PyQt4 on the same system, one for Qt4 and the other
for Qt5?

I want this so that I can test the FakeVim Qt widget[4] in all three
combinations:
* PyQt4 with Qt4
* PyQt4 with Qt5
* PyQt5 with Qt5

Cheers,
Jacob Floyd

[1] http://pyqt.sourceforge.net/Docs/PyQt4/qt_v5.html
[2] http://stackoverflow.com/a/16243129
[3]
http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#co-existence-with-pyqt4
[4] https://github.com/hluk/FakeVim

[Attachment #5 (text/html)]

<div dir="ltr">Hello all,<div><br><div>I see that PyQt4 can be built with either Qt4 \
or Qt5[1] by configuring it with the right version of qmake[2]. There is also a way \
to have PyQt4 and PyQt5 installed on the same system[3].</div>

<div><br></div><div>However is there a way to either:</div><div>* have PyQt4 provide \
bindings for both Qt4 and Qt5 (I&#39;m guessing that&#39;s a no), or</div><div>* have \
two copies of PyQt4 on the same system, one for Qt4 and the other for Qt5?</div>

<div><br></div><div>I want this so that I can test the FakeVim Qt widget[4] in all \
three combinations:</div><div>* PyQt4 with Qt4</div><div>* PyQt4 with Qt5</div><div>* \
PyQt5 with Qt5</div><div><br></div><div>Cheers,</div>

<div>Jacob Floyd</div><div><br></div><div>[1]  <a \
href="http://pyqt.sourceforge.net/Docs/PyQt4/qt_v5.html">http://pyqt.sourceforge.net/Docs/PyQt4/qt_v5.html</a></div><div>[2] \
<a href="http://stackoverflow.com/a/16243129">http://stackoverflow.com/a/16243129</a></div>


<div>[3]  <a href="http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#co-existen \
ce-with-pyqt4">http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#co-existence-with-pyqt4</a></div></div><div>[4] \
<a href="https://github.com/hluk/FakeVim">https://github.com/hluk/FakeVim</a></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