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

Add support for qt6 (PyQt6 and PySide6) #237

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ldet
Copy link

@ldet ldet commented Nov 13, 2022

Hello,
i added PySide6 and PyQt6 support to the -qt-support command line argument. The changes from qt5 to qt6 where quite minimal so I mostly added imports. The only relevant breaking change is the deprecation (PySide6) / removal (PyQt6) of exec_() in favor of exec() in QThread/QCoreApplication.
PyQt5 and PySide2 support both, so once Qt4 support is dropped, that additional check could be removed.

test_case_qthread4 is failing for me with PySide2 and PySide6, so i dont think its actually related to my change. It works with PyQt6 though (only tested with those three).

I did not touch any of that pydev_ipython stuff, because i never really used IPython, but I had a quick look at the upstream sources in the IPython repo and they changed some other things, so it might be worth importing those again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant