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: Add QShortcut class to QtWidgets module #254

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

kumattau
Copy link
Contributor

@kumattau kumattau commented Oct 13, 2021

Hi, I am trying qtawesome with PySide6.

In Qt6, QShortcut class is moved from QtWidgets module to QtGui module.
So I think QShortcut class needs to be added to QtWidgets module for Qt5 compatibility.

https://doc.qt.io/qt-5/qshortcut.html
qmake: QT += widgets

https://doc.qt.io/qt-6/qshortcut.html
qmake: QT += gui

Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @kumattau for noticing this and submitting a fix! This LGTM 👍

@dalthviz dalthviz merged commit 5a015d2 into spyder-ide:master Oct 13, 2021
@kumattau kumattau deleted the pyside6-qshortcut branch October 13, 2021 17:43
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.

None yet

2 participants