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

moving to QOpenGLWidget #23

Closed
jurneo opened this issue Nov 15, 2017 · 0 comments
Closed

moving to QOpenGLWidget #23

jurneo opened this issue Nov 15, 2017 · 0 comments

Comments

@jurneo
Copy link

jurneo commented Nov 15, 2017

Just to share my finding that moving to QOpenGLWidget, from QGLWidget. The changes is quite straight forward (by replacing QGLWidget --> QOpenGLWidget, ..).
To make it work, the tricky part is to replace paintEvent with paintGL to avoid issue with display. The complete change is in fork out code in my github.

@jurneo jurneo closed this as completed Nov 15, 2017
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

No branches or pull requests

1 participant