1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/py-QtPy/pkg-descr
Yuri Victorovich e494ef0e46 New port: devel/py-QtPy: Abstraction layer on top of the various Qt bindings
This is an abstraction layer on top of the various Qt bindings.

It doesn't have any explicit dependencies. It has alternative dependencies
on PyQt5, PyQt4, PySide2 or PySide which it selects in the run-time.
Users have the responsibility to ensure that one of them is installed, and
to optionally set QT_API to force one of them.

Approved by:	tcberner (mentor)
Differential Revision:	D13657
2018-01-27 00:38:14 +00:00

11 lines
426 B
Plaintext

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)
WWW: https://github.com/spyder-ide/qtpy