Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Help users understand why PySide 6.8.0 gives a segfault #495

Merged
merged 3 commits into from
Oct 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
)
ccordoba12 marked this conversation as resolved.
Show resolved Hide resolved
from PySide6.QtCore import __version__ as QT_VERSION # analysis:ignore

QT5 = PYQT5 = False
Expand Down
Loading