diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-08-30 09:14:53 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-08-30 09:44:00 +0200 |
commit | 08c365ca12abb3d641d923f98380ed6d8df3b05b (patch) | |
tree | 6393f2d98ddd3524b9bb9a78747d0cf85928ba3d | |
parent | 0cf0729dd0a4d958fafd3acd6c6b8100213370fd (diff) |
Add a note to QSGEngine about its incompatibility with the RHI
Change-Id: Id9d6ce4a531d2cd1b79b3bb9224a5567ead42799
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
-rw-r--r-- | src/quick/scenegraph/util/qsgengine.cpp | 4 | ||||
-rw-r--r-- | src/quick/scenegraph/util/qsgengine.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgengine.cpp b/src/quick/scenegraph/util/qsgengine.cpp index c05005c467..4880d98871 100644 --- a/src/quick/scenegraph/util/qsgengine.cpp +++ b/src/quick/scenegraph/util/qsgengine.cpp @@ -69,6 +69,10 @@ QT_BEGIN_NAMESPACE Most of the time you will instead want to subclass QQuickItem and insert your QSGNode in a normal QtQuick scene by overriding QQuickItem::updatePaintNode(). + \warning This class is only suitable when working directly with OpenGL. It + is not compatible with the \l{Scene Graph Adaptations}{RHI-based rendering + path}. + \sa QSGAbstractRenderer */ diff --git a/src/quick/scenegraph/util/qsgengine.h b/src/quick/scenegraph/util/qsgengine.h index e48b7784ae..c5a59b47e7 100644 --- a/src/quick/scenegraph/util/qsgengine.h +++ b/src/quick/scenegraph/util/qsgengine.h @@ -54,6 +54,8 @@ class QSGRectangleNode; class QSGImageNode; class QSGNinePatchNode; +// ### Qt 6: Remove or redesign. + class Q_QUICK_EXPORT QSGEngine : public QObject { Q_OBJECT |