Hello,
What is the status of this branch? It isn't up-to-date.
I'm mostlty working with Qt6/qml so I could give an hand on this.
qmltoqt6 branch
- mcallegari
- Posts: 4710
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Hi, thanks for the rebase.
The purpose of that branch is to port the QML UI to Qt6.
There are a few QML specific changes to make, especially on native dialogs, but the most critical part there is the 3D preview.
The Qt company is basically not maintaining anymore the Qt3D module. They are rather working on Quick3D but our analysis proven that there is no feature-parity between the two modules so we can't port the rendering pipeline as it is.
In other words, at the moment QLC+ 5 on Qt6 is unusable.
The purpose of that branch is to port the QML UI to Qt6.
There are a few QML specific changes to make, especially on native dialogs, but the most critical part there is the 3D preview.
The Qt company is basically not maintaining anymore the Qt3D module. They are rather working on Quick3D but our analysis proven that there is no feature-parity between the two modules so we can't port the rendering pipeline as it is.
In other words, at the moment QLC+ 5 on Qt6 is unusable.
-
- Posts: 12
- Joined: Sat Aug 24, 2024 10:23 am
- Real Name:
It is what I noticed : the 3D preview is all black on my Fedora. I'm investigating it and try to understand why a simple SceneEntity animation works fine while it is not the case with the SceneEntity defined into the project.
Alos, https://github.com/mcallegari/qlcplus/pull/1558 was a WIP and contains many fixes on callbacks depreciations ('onFunction: (var_1,...,var_n) =>{ todo();}'). Was there a reason to not backport them?
Alos, https://github.com/mcallegari/qlcplus/pull/1558 was a WIP and contains many fixes on callbacks depreciations ('onFunction: (var_1,...,var_n) =>{ todo();}'). Was there a reason to not backport them?
- GGGss
- Posts: 3049
- Joined: Mon Sep 12, 2016 7:15 pm
- Location: Belgium
- Real Name: Fredje Gallon
Ow may ...mcallegari wrote: ↑Tue Sep 03, 2024 6:45 am The Qt company is basically not maintaining anymore the Qt3D module. They are rather working on Quick3D but our analysis proven that there is no feature-parity between the two modules so we can't port the rendering pipeline as it is.
Is there a branch of some sort to rule this out?
All electric machines work on smoke... when the smoke escapes... they don't work anymore
-
- Posts: 12
- Joined: Sat Aug 24, 2024 10:23 am
- Real Name:
Qt6 use RHI by default for its qml view. Some hints propose to force to openGL but it goes nowhere.
Code: Select all
QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi);
qputenv("QT3D_RENDERER", "opengl");
It seems to be "just" the shaders that need to be rewrite a bit to be compliant with 450 (RHI): The screenshot comes from the geo.vert/frag splitted into es2/gl3/rhi applied to the StageSimple Entity. That gives an idea.
- mcallegari
- Posts: 4710
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
See https://github.com/mcallegari/qlcplus/pull/1463
We already attempted the port of the 3D view to RHI but there were issues with the layer filtering.
Forcing OpenGL on RHI, instead, should still work but I haven't tried it myself yet.
We already attempted the port of the 3D view to RHI but there were issues with the layer filtering.
Forcing OpenGL on RHI, instead, should still work but I haven't tried it myself yet.
-
- Posts: 12
- Joined: Sat Aug 24, 2024 10:23 am
- Real Name:
In fact, I gone too far.... After your answer on "Forcing OpenGL on RHI, instead, should still work but I haven't tried it myself yet."
I restarted from scratch from the qmltoqt6 with only few changes that are not related to 3D.
I confirm that it works..
Code: Select all
QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi);
qputenv("QT3D_RENDERER", "opengl");