diff options
Diffstat (limited to 'tests/auto/animation/qvertexblendanimation')
3 files changed, 7 insertions, 11 deletions
diff --git a/tests/auto/animation/qvertexblendanimation/CMakeLists.txt b/tests/auto/animation/qvertexblendanimation/CMakeLists.txt index f0d82c0d1..d08326c13 100644 --- a/tests/auto/animation/qvertexblendanimation/CMakeLists.txt +++ b/tests/auto/animation/qvertexblendanimation/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_qvertexblendanimation Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_qvertexblendanimation LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_qvertexblendanimation SOURCES tst_qvertexblendanimation.cpp diff --git a/tests/auto/animation/qvertexblendanimation/qvertexblendanimation.pro b/tests/auto/animation/qvertexblendanimation/qvertexblendanimation.pro deleted file mode 100644 index 8079ebf15..000000000 --- a/tests/auto/animation/qvertexblendanimation/qvertexblendanimation.pro +++ /dev/null @@ -1,10 +0,0 @@ -TEMPLATE = app - -TARGET = tst_qvertexblendanimation - -QT += 3dcore 3dcore-private 3drender 3drender-private 3danimation testlib - -CONFIG += testcase - -SOURCES += tst_qvertexblendanimation.cpp - diff --git a/tests/auto/animation/qvertexblendanimation/tst_qvertexblendanimation.cpp b/tests/auto/animation/qvertexblendanimation/tst_qvertexblendanimation.cpp index f77a972ae..a3cb422fc 100644 --- a/tests/auto/animation/qvertexblendanimation/tst_qvertexblendanimation.cpp +++ b/tests/auto/animation/qvertexblendanimation/tst_qvertexblendanimation.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2017 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 <QtTest/qtest.h> #include <Qt3DAnimation/qvertexblendanimation.h> |