Skip to content

Commit

Permalink
PR: Help users understand why PySide 6.8.0 gives a segfault (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 authored Oct 12, 2024
2 parents 0f7b181 + 234b46c commit b851e00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qtpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b851e00

Please sign in to comment.