diff --git a/qtpy/__init__.py b/qtpy/__init__.py index 5467fda5..697f23ae 100644 --- a/qtpy/__init__.py +++ b/qtpy/__init__.py @@ -278,6 +278,12 @@ 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