question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does QtPy support the newly released PyQt6 package?

Related: #229

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:15
  • Comments:36 (27 by maintainers)

github_iconTop GitHub Comments

6reactions
CAM-Gerlachcommented, Dec 2, 2021

Seems like there was a clear consensus here for not supporting anything earlier than 6.2, so if @dalthviz agrees I can go ahead with a PR to also warn on those versions (I initially added it in a way that would make it relatively straightforward to do so without much code duplication).

3reactions
j9ac9kcommented, Oct 29, 2021

Also, after some discussion with @ccordoba12 we will try to support unscoped enums access in order to keep things working as if you were using PyQt5 (where scoped and unscoped access is available at least from PyQt 5.9.2 + sip 4.9.13 with conda)

In case it helps, here is our logic we used to “promote” enums in PyQt6

https://github.com/pyqtgraph/pyqtgraph/blob/pyqtgraph-0.12.1/pyqtgraph/Qt.py#L331-L377

EDIT: please profile this, when I investigated it took us 3 seconds at import-time. we didn’t make any attempt to speed that up at all; so there are likely places for improvement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PyQt6 - PyPI
PyQt6 is a comprehensive set of Python bindings for Qt v6. It is implemented as more than 35 extension modules and enables Python...
Read more >
Installing PyQt6 on Windows - Python GUIs
Install PyQt6 on Windows 10 & 11. Before you start coding you will first need to have a working installation of PyQt6 on...
Read more >
PyQt Download - Riverbank Computing
PyQt6. PyQt6 is provided as a source distribution (sdist) and binary wheels from PyPI. The wheels will automatically install copies of the corresponding...
Read more >
PyQt6 support : PY-51291 - JetBrains YouTrack
PyQt6 support. 2. Since I upgraded my project from PyQt5 to PyQt6 (because only Qt6 runs on Apple Silicon), I can no longer...
Read more >
Qt for Python - Qt Documentation
Qt Modules Supported by Qt for Python. Toggle child pages in navigation. PySide6.Qt3DAnimation. Toggle child pages in navigation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found