BSD Ports

wip/py-qtpy 2.4.3 NetBSD

Abstraction layer for PyQt5/PySide2/PyQt6/PySide6

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
mit
Categories
wip, python

Description

QtPy(pronounced 'cutie pie') 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 and PySide using the PyQt5 layout (where the QtGui module has been split into QtGui and QtWidgets).

Basically, you write your code as if you were using PyQt5 but import qt from qtpy instead of PyQt5.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-qtpy && make install clean

Dependencies

Build dependencies 1