aboutsummaryrefslogtreecommitdiff
path: root/devel/py-QtPy/pkg-descr
blob: cfa0a7fb1b56219bad500f2a6f16f7b0cc3d7a2c (plain) (blame)
1
2
3
4
5
6
7
8
QtPy is a small abstraction layer that lets you write applications using a
single API call to either PyQt or PySide.

It provides support for PyQt5, PyQt4, PySide2 and PySide using the Qt5 layout
(where the QtGui module has been split into QtGui and QtWidgets).

Basically, you write your code as if you were using PySide2 but import Qt
modules from qtpy instead of PySide2 (or PyQt5)