BSD Ports

devel/py-QtPy 1.9.0_1 MidnightBSD

Abstraction layer on top of the various Qt bindings

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

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)

In the other systems

SystemPortVersion
MidnightBSDdevel/py-QtPy1.9.0_1
FreeBSDdevel/py-QtPy2.4.3
DragonFlydevel/py-QtPy2.4.1
HardenedBSDdevel/py-QtPy2.4.3
GhostBSDdevel/py-QtPy2.4.3

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}QtPy

From mports:

cd /usr/mports/devel/py-QtPy && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}QtPy>0:devel/py-QtPy

Dependencies

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
QtPy-1.9.0.tar.gz355222db72c44b55d0fe1407be8fba35c838ad0d6d3bb81f23007886dc1fc0f459c8d
Master sites 1
  • PYPI