Summary
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)
Versions
v2.4.2-r1 :: 0 :: gentoo
- Modified
- License
- MIT
- Keywords
- amd64 arm64 x86 ~arm ~loong ~ppc64 ~riscv
- USE flags
- bluetooth dbus designer gui help multimedia network nfc opengl pdfium positioning printsupport pyqt6 pyside6 qml quick quick3d remoteobjects sensors serialport spatialaudio speech sql svg test testlib webchannel webengine websockets widgets xml
v2.4.2 :: 0 :: gentoo
- Modified
- License
- MIT
- Keywords
- amd64 arm64 x86 ~arm ~loong ~ppc64 ~riscv
- USE flags
- designer gui help multimedia network opengl positioning printsupport pyqt5 pyqt6 pyside2 pyside6 qml quick sensors serialport speech sql svg test testlib webchannel webengine websockets widgets xml
USE flags
General
- bluetooth
- Enable Bluetooth Support
- dbus
- Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
- 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 dev-python/pyqt5 as Qt for Python implementation
- pyqt6
- Use dev-python/pyqt6 as Qt for Python implementation
- pyside2
- Use dev-python/pyside2 as Qt for Python implementation
- pyside6
- Use dev-python/pyside6 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
- 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
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
- testlib
- Pull in bindings for the QtTest module
- 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
python_targets
- python3_10
- Build with Python 3.10
- python3_11
- Build with Python 3.11
- python3_12
- Build with Python 3.12
- python3_13
- Build with Python 3.13
Runtime Dependencies
dev-lang / python : Freethreading (no-GIL) version of Python programming language
dev-python / packaging : Core utilities for Python packages
dev-python / pyqt5 : Python bindings for the Qt framework
dev-python / pyqt6 : Python bindings for the Qt framework
dev-python / pyqt6-webengine : Python bindings for QtWebEngine
dev-python / pyqtwebengine : Python bindings for QtWebEngine
dev-python / pyside6 : Python bindings for the Qt framework
Depending packages
dev-python / pandas : Powerful data structures for data analysis and statistics
dev-python / pyperclip : A cross-platform clipboard module for Python
dev-python / pytest-qt : Pytest plugin for PyQt5 and PySide2 applications
dev-python / qdarkstyle : A dark style sheet for QtWidgets application
dev-python / qtawesome : Enables iconic fonts such as Font Awesome in PyQt
dev-python / qtconsole : Qt-based console for Jupyter with support for rich media output
dev-python / spyder : The Scientific Python Development Environment
dev-python / spyder-notebook : Jupyter notebook integration with Spyder
dev-python / superqt : Missing widgets and components for PyQt/PySide
dev-vcs / git-cola : The highly caffeinated git GUI
kde-apps / kajongg : Classical Mah Jongg for four players
media-gfx / hydrus : A booru-like media organizer for the desktop
media-video / vidify : Watch music videos in real time for the songs playing on your device
sci-misc / vitables : A graphical tool for browsing / editing files in both PyTables and HDF5 formats
Bugs
- 926686
- dev-python/qtpy[pyqt5,webengine] depends on dev-qt/qtwebengine:5 via dev-python/pyqtwebengine
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Andreas Sturmlechner · gentoo
dev-python/qtpy: Drop test? ( dev-python/qtpy5[bluetooth] ) DEPEND
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/qtpy: Stabilize 2.4.2-r1 arm64, #946705
Signed-off-by: Sam James <sam@gentoo.org> - Sam James · gentoo
dev-python/qtpy: Stabilize 2.4.2-r1 amd64, #946705
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/qtpy: Stabilize 2.4.2-r1 x86, #946705
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Nowa Ammerlaan · gentoo
dev-python/qtpy: add 2.4.2-r1, drop qt5 support
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/qtpy: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/qtpy: Stabilize 2.4.2 ALLARCHES, #946439
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
Rename dev-python/{PyQt6 → pyqt6}
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
Rename dev-python/{PyQt5 → pyqt5}
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
Rename dev-python/{PyQtWebEngine → pyqtwebengine}
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
Rename dev-python/{PyQt6-WebEngine → pyqt6-webengine}
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
Rename dev-python/{QtPy → qtpy}
Signed-off-by: Michał Górny <mgorny@gentoo.org>