cginternals / cginternals/gloperate

Remove dependency on deprecated QtOpenGL module

Open
#414 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
43
Forks
24
PR merge metrics
No merged PRs in 30d

Description

From http://doc.qt.io/qt-5/qglwidget.html:
```
This class is obsolete. It is provided to keep old source code working.
We strongly advise against using it in new code.
```

It is only need for `QGLWidget::convertToGLFormat`, which boils down to a vertical mirror and channel flipping from `BGRA` to `RGBA`.

Contributor guide

No contributing guide indexed for this repository

Research direction

First locate the use of QtOpenGL and QGLWidget::convertToGLFormat in the C++ codebase; the issue names no file or test. Confirm that the replacement preserves the stated vertical mirror and BGRA-to-RGBA channel flipping, then verify the existing rendering or image-handling tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.