diff options
Diffstat (limited to 'tests/auto/quick/nodes/tst_nodestest.cpp')
-rw-r--r-- | tests/auto/quick/nodes/tst_nodestest.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/auto/quick/nodes/tst_nodestest.cpp b/tests/auto/quick/nodes/tst_nodestest.cpp index 5cec3034d8..d91654a6f6 100644 --- a/tests/auto/quick/nodes/tst_nodestest.cpp +++ b/tests/auto/quick/nodes/tst_nodestest.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2016 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QtCore/QString> #include <QtTest/QtTest> @@ -18,28 +18,23 @@ #include <QtGui/qpa/qplatformintegration.h> #include <QtGui/qoffscreensurface.h> -#include <QtGui/private/qrhi_p.h> -#include <QtGui/private/qrhinull_p.h> +#include <rhi/qrhi.h> #if QT_CONFIG(opengl) # include <QOpenGLContext> -# include <QtGui/private/qrhigles2_p.h> # define TST_GL #endif #if QT_CONFIG(vulkan) # include <QVulkanInstance> -# include <QtGui/private/qrhivulkan_p.h> # define TST_VK #endif #ifdef Q_OS_WIN -#include <QtGui/private/qrhid3d11_p.h> # define TST_D3D11 #endif -#if defined(Q_OS_MACOS) || defined(Q_OS_IOS) -# include <QtGui/private/qrhimetal_p.h> +#if QT_CONFIG(metal) # define TST_MTL #endif |