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

Qt6: QtCharts namespace incompatibility #304

Closed
thatfuckingbird opened this issue Dec 23, 2021 · 3 comments · Fixed by #315
Closed

Qt6: QtCharts namespace incompatibility #304

thatfuckingbird opened this issue Dec 23, 2021 · 3 comments · Fixed by #315
Assignees
Milestone

Comments

@thatfuckingbird
Copy link

The QtCharts.QtCharts namespace was removed in Qt6, and the contents are now directly in the QtCharts module.
To preserve compatibility with Qt5 code, the below works:

qtpy.QtCharts.QtCharts = qtpy.QtCharts

Maybe this is worth adding in qtpy itself?

@dalthviz
Copy link
Member

Hi @thatfuckingbird thank you for the feedback! I'm not totally sure (I guess that gives backwards compatibility with the QtPy 1.x handling that was being done) what do you think @ccordoba12 @CAM-Gerlach ?

@ccordoba12
Copy link
Member

Yeah, I think it's a good idea to handle that change here.

@CAM-Gerlach
Copy link
Member

Sounds good to me 👍

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

Successfully merging a pull request may close this issue.

4 participants