Disable RHI Renderer by default
RHI renderer use ShaderTools which is GPL licensed. This patch
disables the plugin by default until Qt3D provides a suitable
replacement for the dependency.
To enable the RHI backend, compile Qt3D and pass parameter
-DFEATURE_qt3d_rhi_renderer=ON to cmake.
Unfortunate side effect of RHI backend being disabled is that
when using Scene3D, the QtQuick renderer must be configured to
use the opengl backend.
[ChangeLog] RHI Backend is not longer built by default
Task-number: QTBUG-94960
Pick-to: 6.1 6.2
Change-Id: I0bff7523e159b800734b58bfef37e5088d0a0d41
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
| commit | 3964b273459c2999f33d51b96afe6fb68f07d52f |
| parent | 7f1f3c358258331f86dc792c653482c82bbf2ec6 |
| author | Mike Krus <mike.krus@kdab.com> |
| committer | Mike Krus <mike.krus@kdab.com> |
| commit time | Mon, 19 Jul 2021 16:14:26 +0100 |
- M CMakeLists.txt
- M examples/qt3d/advancedcustommaterial/CMakeLists.txt
- M examples/qt3d/advancedcustommaterial/main.cpp
- M examples/qt3d/compute-particles/main.cpp
- M examples/qt3d/controls/CMakeLists.txt
- M examples/qt3d/controls/main.cpp
- M examples/qt3d/controlsunderlay/CMakeLists.txt
- M examples/qt3d/controlsunderlay/main.cpp
- M examples/qt3d/planets-qml/main.cpp
- M examples/qt3d/scene3d/CMakeLists.txt
- M examples/qt3d/scene3d/main.cpp
- M examples/qt3d/simplecustommaterial/CMakeLists.txt
- M examples/qt3d/simplecustommaterial/main.cpp
- M src/extras/defaults/qt3dwindow.cpp
- M src/plugins/renderers/CMakeLists.txt
- M src/plugins/renderers/rhi/CMakeLists.txt
- M src/quick3d/imports/scene3d/scene3ditem.cpp
- M src/render/configure.cmake