mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
e494ef0e46
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
11 lines
426 B
Plaintext
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
|