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

Compatibility with QtWidgets.QOpenGLWidget vs QtOpenGLWidgets.QOpenGLWidget #258

Closed
dalthviz opened this issue Oct 21, 2021 · 1 comment · Fixed by #259
Closed

Compatibility with QtWidgets.QOpenGLWidget vs QtOpenGLWidgets.QOpenGLWidget #258

dalthviz opened this issue Oct 21, 2021 · 1 comment · Fixed by #259
Assignees
Milestone

Comments

@dalthviz
Copy link
Member

I think we could keep this (the new QtOpenGLWidgets module in Qt6) but we need to do also the compatibility import at QtWidgets.py in a similar fashion as done with PySide6:

from PySide6.QtOpenGLWidgets import QOpenGLWidget

What do you think @ccordoba12 ?

Originally posted by @dalthviz in #255 (comment)

@dalthviz dalthviz added this to the v2.0.0 milestone Oct 21, 2021
@ccordoba12
Copy link
Member

I agree with adding the equivalent line for PyQt6. That's a good idea because it avoids us to add another module to qtpy (i.e. QtOpenGLWidgets) just for a single widget.

@ccordoba12 ccordoba12 changed the title Compatibility QtWidgets.QOpenGLWidget vs QtOpenGLWidgets.QOpenGLWidget Compatibility with QtWidgets.QOpenGLWidget vs QtOpenGLWidgets.QOpenGLWidget Oct 21, 2021
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 a pull request may close this issue.

2 participants