Skip to content

Commit

Permalink
force older Qt3D OpenGL backend
Browse files Browse the repository at this point in the history
  • Loading branch information
mlowczynski committed May 2, 2024
1 parent c25773f commit 8ff40aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qmlui/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ void App::startup()
qmlRegisterUncreatableType<Function>("org.qlcplus.classes", 1, 0, "QLCFunction", "Can't create a Function!");
qmlRegisterType<ModelSelector>("org.qlcplus.classes", 1, 0, "ModelSelector");

qputenv("QT3D_RENDERER", "opengl");

#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QQmlFileSelector* selector = new QQmlFileSelector(engine());
selector->setExtraSelectors({"qt5"});
Expand Down

0 comments on commit 8ff40aa

Please sign in to comment.