Skip to content

Commit

Permalink
Help users understand why 6.8.0 just destroys things
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk authored Oct 11, 2024
1 parent 0f7b181 commit 842c080
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qtpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ def __init__(self, *, missing_package=None, **superclass_kwargs):
if API in PYSIDE6_API:
try:
from PySide6 import __version__ as PYSIDE_VERSION # analysis:ignore
if PYSIDE_VERSION == "6.8.0":
print(
"A known critical bug in PySide6 6.8.0 will cause your application to crash "
"see https://github.com/spyder-ide/qtpy/issues/494"
)
from PySide6.QtCore import __version__ as QT_VERSION # analysis:ignore

QT5 = PYQT5 = False
Expand Down

0 comments on commit 842c080

Please sign in to comment.