aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi/qsgabstractrenderer.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-04-06 14:06:00 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-04-14 11:44:32 +0200
commit94b46de4050d023ecbb238c2636d7e252f8f5949 (patch)
tree311414d07fbcd915d206b3e194d724db724720fc /src/quick/scenegraph/coreapi/qsgabstractrenderer.h
parent51847c314200a179e113ea5dc4e1d24878b8bcfa (diff)
Deprecate QSGEngine
...and warn about QSGAbstractRenderer becoming private. Task-number: QTBUG-78596 Change-Id: If545e223907a90ae3bcfde235e9677e8a0a5899b Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgabstractrenderer.h')
-rw-r--r--src/quick/scenegraph/coreapi/qsgabstractrenderer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgabstractrenderer.h b/src/quick/scenegraph/coreapi/qsgabstractrenderer.h
index 1594352dab..258a5fed14 100644
--- a/src/quick/scenegraph/coreapi/qsgabstractrenderer.h
+++ b/src/quick/scenegraph/coreapi/qsgabstractrenderer.h
@@ -72,6 +72,10 @@ public:
~QSGAbstractRenderer() override;
+ // just have a warning about becoming private, ifdefing the whole class is not feasible
+#if QT_DEPRECATED_SINCE(5, 15)
+ QT_DEPRECATED_X("QSGAbstractRenderer is no longer going to be public in Qt 6.0. QSGEngine-based workflows are expected to migrate to QQuickRenderControl instead.")
+#endif
void setRootNode(QSGRootNode *node);
QSGRootNode *rootNode() const;
void setDeviceRect(const QRect &rect);