Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 28b9e36e96ce34b2567ae5b47a27b2c5 > files > 25

python-qt4-doc-4.10.3-3.mga4.noarch.rpm

PyQt4 and Qt v5
===============

Building Against Qt v5
----------------------

PyQt4 can be built against Qt v5 in exactly the same way that it is built
against Qt v4.  However only a Qt v4 compatible subset of Qt v5 is supported,
specifically:

- any classes added in Qt v5 *are not* supported
- any new features added in Qt v5 to classes that exist in Qt v4 *are*
  supported
- any features that are marked as deprecated in Qt v5 *are* supported.

The :option:`--no-deprecated <configure.py --no-deprecated>` option to PyQt4's
:program:`configure.py` can be used to disable the support for the deprecated
features.  This can be useful in the porting of PyQt4 applications to PyQt5.