Skip to content

BUG: migrate to QOpenGLWidget

Victor Poughon requested to merge 1626-qopenglwidget into develop


In Monteverdi's ImageViewWidget, migrate QGLWidget to QOpenGLWidget introduced in Qt 5.4.


The old QGLWidget is obsolete in Qt 5.

After this patch the performance of image browsing in Monteverdi on my machine is increased dramatically. I can browse an image smoothly while it was very slow before.

Please see the Qt Documentation for QOpenGLWidget for details on the differences between the two.

Closes #1626 (closed). Probably closes #1796 (closed).


The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.

Check before merging:

  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
  • Optionally, run git diff develop... -U0 --no-color | -p1 -i on latest changes and commit
Edited by Victor Poughon

Merge request reports