aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/rendernode/d3d12renderer.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-06-08 11:34:15 +0200
committerKai Koehne <kai.koehne@qt.io>2017-06-08 14:33:11 +0000
commit18c46875effbfa051af1f67bcb6c575db11b994b (patch)
tree7db6927ba57ec2441d1827f8ab16b0cf57e59df4 /examples/quick/scenegraph/rendernode/d3d12renderer.h
parent55d2d4cfc0b5c64b0fd8a80b868673971200f7c4 (diff)
Fix building examples with namespaced Qt
Change-Id: I065715a523028a91ee3a841140734ad6eba240c2 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/rendernode/d3d12renderer.h')
-rw-r--r--examples/quick/scenegraph/rendernode/d3d12renderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/scenegraph/rendernode/d3d12renderer.h b/examples/quick/scenegraph/rendernode/d3d12renderer.h
index 1d2726819f..b071f45191 100644
--- a/examples/quick/scenegraph/rendernode/d3d12renderer.h
+++ b/examples/quick/scenegraph/rendernode/d3d12renderer.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2017 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
@@ -45,7 +45,7 @@
#if QT_CONFIG(d3d12)
-class QQuickItem;
+QT_FORWARD_DECLARE_CLASS(QQuickItem)
#include <d3d12.h>
#include <wrl/client.h>