[PyQt] PyQt4 against Qt5 preview builds available for Ubuntu Raring
Hello All, I have finally managed to correctly patch configure-ng.py to have all the debian configury changes as well as to correctly find multi-arch paths on Debian/Ubuntu systems and successfully compile pyqt4 227b3c0affb4 snapshot against Qt5 (Raring) with all modules that are available for Qt5. My packaging branch is here: lp:~xnox/ubuntu/raring/python-qt4/qt5 And the binary packages are available from my PPA: https://code.launchpad.net/~xnox/+archive/scratch/+packages I am hoping to land thin into ubuntu proper early next cycle (approx. late may / early june). I have two questions: * What is upstream preference for a package name? - given that everything will not switch to qt5 overnight we need to keep python-qt4 compiled against qt4, yet we want to start providing qt5 variant. Will pyqt5 be source incompatible with python-qt4-qt5? * How to handle co-installing qt4 qt5 variants of pyqt? Given that currently pyqt4 uses PyQt4 name-space regardless if it's compiled against qt4 or qt5. Regards, Dmitrijs. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] PyQt4 and Qt5
Hello Phil, will you eventually provide Windows installers including Qt5 as well? If you will, will it be possible to install them in parallel, i.e. have PyQt4 with Qt4 and Qt5 available at the same time? Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] PyQt4 and Qt5
On Fri, 21 Dec 2012 11:04:33 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: Hello Phil, will you eventually provide Windows installers including Qt5 as well? Yes, but probably only for Python 2.7 and 3.3. If you will, will it be possible to install them in parallel, i.e. have PyQt4 with Qt4 and Qt5 available at the same time? No. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] PyQt4 and Qt5
Hello, I would like to know the plan about the PyQt support for Qt 5.0 because I would like to start to make eric5 compatible with Qt 5 as soon as possible (if that is possible). In order for that, I would need support for these modules. PyQt4.QtCore PyQt4.QtGui PyQt4.QtNetwork PyQt4.QtWebKit PyQt4.QtHelp PyQt4.QtSql PyQt4.QtSvg PyQt4.uic Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] PyQt4 and Qt5
On Tue, 04 Sep 2012 09:44:08 +0200, Detlev Offenbach det...@die-offenbachs.de wrote: Hello, I would like to know the plan about the PyQt support for Qt 5.0 because I would like to start to make eric5 compatible with Qt 5 as soon as possible (if that is possible). In order for that, I would need support for these modules. PyQt4.QtCore PyQt4.QtGui PyQt4.QtNetwork PyQt4.QtWebKit PyQt4.QtHelp PyQt4.QtSql PyQt4.QtSvg PyQt4.uic Regards, Detlev The plan is that PyQt4 will build against Qt5. v4.9.4 will build against Qt5-alpha (QtCore and QtGui modules only). I am currently working on updating to Qt5-beta1. The Qt4 and Qt5 APIs are very similar, but not identical. It's theoretically possible that an application will not need any changes. Once QtCore and QtGui build again I'll move on to the other modules. QScintilla already supports Qt5. There will also be a PyQt5, but probably not until after the final release of Qt5. This will support the new features of Qt5, drop all deprecated parts of the Qt API, drop the QString, QVariant v1 APIs etc. So I would hope that you will be able to run eric under Qt5 sooner rather than later. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] PyQt4 and Qt5
On Tuesday 04 September 2012, 09:30:06 Phil Thompson wrote: On Tue, 04 Sep 2012 09:44:08 +0200, Detlev Offenbach det...@die-offenbachs.de wrote: Hello, I would like to know the plan about the PyQt support for Qt 5.0 because I would like to start to make eric5 compatible with Qt 5 as soon as possible (if that is possible). In order for that, I would need support for these modules. PyQt4.QtCore PyQt4.QtGui PyQt4.QtNetwork PyQt4.QtWebKit PyQt4.QtHelp PyQt4.QtSql PyQt4.QtSvg PyQt4.uic Regards, Detlev The plan is that PyQt4 will build against Qt5. v4.9.4 will build against Qt5-alpha (QtCore and QtGui modules only). I am currently working on updating to Qt5-beta1. The Qt4 and Qt5 APIs are very similar, but not identical. Do you have a list of differences at hand? Such a list could ease building an application, that works under Qt5 and Qt4 (maybe by having some kind of portability layer). It's theoretically possible that an application will not need any changes. Once QtCore and QtGui build again I'll move on to the other modules. That is really good news. QScintilla already supports Qt5. I knew about that and it compiled already. It was an issue I had with PyQt4 4.9.4 with Qt5-beta1, but that's probably because PyQt4 is not yet adjusted (it didn't catch the QtGui stuff). There will also be a PyQt5, but probably not until after the final release of Qt5. This will support the new features of Qt5, drop all deprecated parts of the Qt API, drop the QString, QVariant v1 APIs etc. So I would hope that you will be able to run eric under Qt5 sooner rather than later. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- Detlev Offenbach det...@die-offenbachs.de___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] PyQt4 and Qt5
On Tue, 04 Sep 2012 11:18:36 +0200, Detlev Offenbach det...@die-offenbachs.de wrote: On Tuesday 04 September 2012, 09:30:06 Phil Thompson wrote: On Tue, 04 Sep 2012 09:44:08 +0200, Detlev Offenbach det...@die-offenbachs.de wrote: Hello, I would like to know the plan about the PyQt support for Qt 5.0 because I would like to start to make eric5 compatible with Qt 5 as soon as possible (if that is possible). In order for that, I would need support for these modules. PyQt4.QtCore PyQt4.QtGui PyQt4.QtNetwork PyQt4.QtWebKit PyQt4.QtHelp PyQt4.QtSql PyQt4.QtSvg PyQt4.uic Regards, Detlev The plan is that PyQt4 will build against Qt5. v4.9.4 will build against Qt5-alpha (QtCore and QtGui modules only). I am currently working on updating to Qt5-beta1. The Qt4 and Qt5 APIs are very similar, but not identical. Do you have a list of differences at hand? Such a list could ease building an application, that works under Qt5 and Qt4 (maybe by having some kind of portability layer). You can grep the .sip files for Qt_5_0_0 but even most don't actually affect the API. It's too early to tell if a porting guide would be any use. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt