Qt5 + OpenGL progress

I got some progress with OpenGL support for Qt5 applications. Some simple demos works fine for now. And (I was very surprised) WebGL in QtWebKit browsers.

screenshot4

screenshot7

screenshot12

screenshot15

27 Likes

What Mesa version is used? Does it require shared OpenGL contexts?

What Mesa version is used?

Mesa 17.1.10 from depot

Does it require shared OpenGL contexts?

No, I create BGLView only.

2 Likes

screenshot20

19 Likes

Really good news thumb up :+1::+1::heart_eyes:

Unfortunally Qt’s OpenGL related demos crash or show empty window for me. Should it also run on x86_gcc2? Just for curiosity.

Qt5 is only available as a secondary architecture package (gcc8) on the gcc2h (32bit)

Qt Creator handles right compiler itself. “Normal” demos are OK. (I meant x86, not x86_gcc2. Sorry)

OpenGL unstable and disabled for now. It’s enabled for qtwebkit browsers only (webgl).

Qt examples:

screenshot25

screenshot21

screenshot22

screenshot27

33 Likes

so it seem we can try again gcompris …

4 Likes

Stellarium 0.21.3

2022-01-17_16-26

32 Likes

LeoCAD:

2022-01-17_23-53

34 Likes

Maybe we could try porting this again: https://github.com/Swordfish90/cool-retro-term given the progress with OpenGL support for Qt5?

2 Likes

Tried already, it’ just unusable w/o HW accel.

2022-01-20_21-11

29 Likes

Good day @3dEyes ,

Can this be tested already in the nightlies, or do we still have to wait for it to be available on Haikuports?

Regards,
RR

2 Likes

I’m not finished yet. There are problems in some programs that need to be solved.

10 Likes

Freeecad depends on 3d accell. Lmk when i can grab a dev package. I’ll give freecad another go.

1 Like

I try to build freecad, but it requires porting additional libraries that we don’t have yet - vtk for example.

3 Likes