Install this package:
emerge -a dev-python/qtpy
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-python/qtpy
Or alternatively:
emerge --autounmask-write -a dev-python/qtpy
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.4.3-r99 | 8 | ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 | 0 |
<pkgmetadata>
<maintainer type="person">
<email>iohann.s.titov@gmail.com</email>
<name>Ivan S. Titov</name>
</maintainer>
<longdescription>
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 PyQt6, PyQt5 and PySide6.
Basically, you can write your code as if you were using PyQt6 but import Qt modules from qtpy instead of PyQt6 (or PySide6).
Forked from ::gentoo with a USE=pyqt5 flag that re-enables PyQt5 backend
detection (suppressed in ::gentoo as part of Qt5 deprecation).
</longdescription>
<use>
<flag name="pyqt5">
Use <pkg>dev-python/pyqt5</pkg> as a Qt for Python implementation.
Required for sci-physics/mantid and other Qt5-only consumers;
disabled by default in ::gentoo (Qt5 deprecation policy). Set
QT_API=pyqt5 at runtime to select it explicitly.
</flag>
<flag name="pyqt6">Use <pkg>dev-python/pyqt6</pkg> as Qt for Python implementation</flag>
<flag name="pyside6">Use <pkg>dev-python/pyside</pkg> as Qt for Python implementation</flag>
<flag name="designer">Pull in bindings for the QtDesigner module and enable the designer plugin</flag>
<flag name="gui">Pull in bindings for the QtGui module</flag>
<flag name="help">Pull in bindings for the QtHelp module</flag>
<flag name="multimedia">Pull in QtMultimedia and QtMultimediaWidgets modules</flag>
<flag name="network">Pull in bindings for the QtNetwork module</flag>
<flag name="nfc">Pull in bindings for the QtNFC module</flag>
<flag name="opengl">Pull in bindings for the QtOpenGL module</flag>
<flag name="pdfium">Pull in bindings for the QtPDFium module</flag>
<flag name="positioning">Pull in bindings for the QtPositioning module</flag>
<flag name="printsupport">Pull in bindings for the QtPrintSupport module</flag>
<flag name="qml">Build bindings for the QtQml</flag>
<flag name="quick">Build bindings for the QtQuick</flag>
<flag name="quick3d">Build bindings for the QtQuick3D</flag>
<flag name="remoteobjects">Pull in bindings for the QtRemoteObjects module</flag>
<flag name="scxml">Pull in bindings for the QtScXml module</flag>
<flag name="sensors">Pull in bindings for the QtSensors module</flag>
<flag name="serialport">Pull in bindings for the QtSerialPort module</flag>
<flag name="spatialaudio">Pull in bindings for the QtSpatialAudio module</flag>
<flag name="speech">Pull in bindings for the QtTextToSpeech module</flag>
<flag name="sql">Pull in bindings for the QtSql module</flag>
<flag name="svg">Pull in bindings for the QtSvg module</flag>
<flag name="testlib">Pull in bindings for the QtTest module</flag>
<flag name="webchannel">Pull in bindings for the QtWebChannel module</flag>
<flag name="webengine">Pull in QtWebEngine and QtWebEngineWidgets modules</flag>
<flag name="websockets">Pull in bindings for the QtWebSockets module</flag>
<flag name="widgets">Pull in bindings for the QtWidgets module</flag>
<flag name="xml">Pull in QtXml module</flag>
</use>
<upstream>
<remote-id type="github">spyder-ide/qtpy</remote-id>
<remote-id type="pypi">QtPy</remote-id>
</upstream>
</pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-python/qtpy |
euse -E <flag> -p dev-python/qtpy |
euse -D <flag> -p dev-python/qtpy
| Flag | Description | 2.4.3-r99 |
|---|---|---|
| bluetooth | Build QtBluetooth module ⚠️ | ✓ |
| dbus | Support for dbus fetching ⚠️ | ✓ |
| designer | Pull in bindings for the QtDesigner module and enable the designer plugin | ✓ |
| gui | Pull in bindings for the QtGui module | ⊕ |
| help | Pull in bindings for the QtHelp module | ✓ |
| multimedia | Pull in QtMultimedia and QtMultimediaWidgets modules | ✓ |
| network | Pull in bindings for the QtNetwork module | ⊕ |
| nfc | Pull in bindings for the QtNFC module | ✓ |
| opengl | Pull in bindings for the QtOpenGL module | ✓ |
| pdfium | Pull in bindings for the QtPDFium module | ✓ |
| positioning | Pull in bindings for the QtPositioning module | ✓ |
| printsupport | Pull in bindings for the QtPrintSupport module | ✓ |
| pyqt5 | Use <pkg>dev-python/pyqt5</pkg> as a Qt for Python implementation. Required for sci-physics/mantid and other Qt5-only consumers; disabled by default in ::gentoo (Qt5 deprecation policy). Set QT_API=pyqt5 at runtime to select it explicitly. | ✓ |
| pyqt6 | Use <pkg>dev-python/pyqt6</pkg> as Qt for Python implementation | ⊕ |
| pyside6 | Use <pkg>dev-python/pyside</pkg> as Qt for Python implementation | ✓ |
| qml | Build bindings for the QtQml | ✓ |
| quick | Build bindings for the QtQuick | ✓ |
| quick3d | Build bindings for the QtQuick3D | ✓ |
| remoteobjects | Pull in bindings for the QtRemoteObjects module | ✓ |
| scxml | Pull in bindings for the QtScXml module | ✓ |
| sensors | Pull in bindings for the QtSensors module | ✓ |
| serialport | Pull in bindings for the QtSerialPort module | ✓ |
| spatialaudio | Pull in bindings for the QtSpatialAudio module | ✓ |
| speech | Pull in bindings for the QtTextToSpeech module | ✓ |
| sql | Pull in bindings for the QtSql module | ⊕ |
| svg | Pull in bindings for the QtSvg module | ✓ |
| testlib | Pull in bindings for the QtTest module | ✓ |
| vulkan | ⚠️ | ✓ |
| webchannel | Pull in bindings for the QtWebChannel module | ✓ |
| webengine | Pull in QtWebEngine and QtWebEngineWidgets modules | ✓ |
| websockets | Pull in bindings for the QtWebSockets module | ✓ |
| widgets | Pull in bindings for the QtWidgets module | ⊕ |
| xml | Pull in QtXml module | ⊕ |
| Type | File | Size | Versions |
|---|
| Type | File | Size |
|---|---|---|
| DIST | qtpy-2.4.3.tar.gz | 66982 bytes |