Skip to content

Commit 842c080

Browse files
authored
Help users understand why 6.8.0 just destroys things
xref: spyder-ide#494
1 parent 0f7b181 commit 842c080

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

qtpy/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,11 @@ def __init__(self, *, missing_package=None, **superclass_kwargs):
278278
if API in PYSIDE6_API:
279279
try:
280280
from PySide6 import __version__ as PYSIDE_VERSION # analysis:ignore
281+
if PYSIDE_VERSION == "6.8.0":
282+
print(
283+
"A known critical bug in PySide6 6.8.0 will cause your application to crash "
284+
"see https://github.com/spyder-ide/qtpy/issues/494"
285+
)
281286
from PySide6.QtCore import __version__ as QT_VERSION # analysis:ignore
282287

283288
QT5 = PYQT5 = False

0 commit comments

Comments
 (0)