Skip to content

Commit b851e00

Browse files
authored
PR: Help users understand why PySide 6.8.0 gives a segfault (#495)
2 parents 0f7b181 + 234b46c commit b851e00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

qtpy/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,12 @@ 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+
282+
if PYSIDE_VERSION == "6.8.0":
283+
print(
284+
"A known critical bug in PySide6 6.8.0 will cause your application to crash. "
285+
"See https://github.com/spyder-ide/qtpy/issues/494",
286+
)
281287
from PySide6.QtCore import __version__ as QT_VERSION # analysis:ignore
282288

283289
QT5 = PYQT5 = False

0 commit comments

Comments
 (0)