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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-QtPy | 1.9.0_1 |
| FreeBSD | devel/py-QtPy | 2.4.3 |
| DragonFly | devel/py-QtPy | 2.4.1 |
| HardenedBSD | devel/py-QtPy | 2.4.3 |
| GhostBSD | devel/py-QtPy | 2.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
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| QtPy-1.9.0.tar.gz | 35522 | 2db72c44b55d0fe1407be8fba35c838ad0d6d3bb81f23007886dc1fc0f459c8d |
Master sites 1
- PYPI