summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/picking/tst_picking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/picking/tst_picking.cpp')
-rw-r--r--tests/auto/render/picking/tst_picking.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/render/picking/tst_picking.cpp b/tests/auto/render/picking/tst_picking.cpp
index d0e6512d5..b281eb6cb 100644
--- a/tests/auto/render/picking/tst_picking.cpp
+++ b/tests/auto/render/picking/tst_picking.cpp
@@ -82,8 +82,11 @@ public:
Qt3DRender::QBuffer *vertexBuffer = static_cast<Qt3DRender::QBuffer *>(positionAttr->buffer());
// Load the geometry
+ QT_WARNING_PUSH
+ QT_WARNING_DISABLE_DEPRECATED
const QByteArray data = (*vertexBuffer->dataGenerator())();
vertexBuffer->setData(data);
+ QT_WARNING_POP
transform->setTranslation(position);