diff options
Diffstat (limited to 'tests/auto/render/qboundingvolumedebug')
3 files changed, 7 insertions, 12 deletions
diff --git a/tests/auto/render/qboundingvolumedebug/CMakeLists.txt b/tests/auto/render/qboundingvolumedebug/CMakeLists.txt index ea7db343d..07eb9c7aa 100644 --- a/tests/auto/render/qboundingvolumedebug/CMakeLists.txt +++ b/tests/auto/render/qboundingvolumedebug/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_qboundingvolumedebug Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_qboundingvolumedebug LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_qboundingvolumedebug SOURCES ../commons/testrenderer.cpp ../commons/testrenderer.h diff --git a/tests/auto/render/qboundingvolumedebug/qboundingvolumedebug.pro b/tests/auto/render/qboundingvolumedebug/qboundingvolumedebug.pro deleted file mode 100644 index 38c0d2db9..000000000 --- a/tests/auto/render/qboundingvolumedebug/qboundingvolumedebug.pro +++ /dev/null @@ -1,11 +0,0 @@ -TEMPLATE = app - -TARGET = tst_qboundingvolumedebug - -QT += core-private 3dcore 3dcore-private 3drender 3drender-private testlib - -CONFIG += testcase - -SOURCES += tst_qboundingvolumedebug.cpp - -include(../commons/commons.pri) diff --git a/tests/auto/render/qboundingvolumedebug/tst_qboundingvolumedebug.cpp b/tests/auto/render/qboundingvolumedebug/tst_qboundingvolumedebug.cpp index f367525cb..499c83368 100644 --- a/tests/auto/render/qboundingvolumedebug/tst_qboundingvolumedebug.cpp +++ b/tests/auto/render/qboundingvolumedebug/tst_qboundingvolumedebug.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB). -// 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 <QtTest/QTest> #include <Qt3DCore/QEntity> |