diff options
Diffstat (limited to 'tests/auto/animation/blendedclipanimator')
3 files changed, 7 insertions, 13 deletions
diff --git a/tests/auto/animation/blendedclipanimator/CMakeLists.txt b/tests/auto/animation/blendedclipanimator/CMakeLists.txt index 56f1628ef..abf6d5c2b 100644 --- a/tests/auto/animation/blendedclipanimator/CMakeLists.txt +++ b/tests/auto/animation/blendedclipanimator/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_blendedclipanimator Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_blendedclipanimator LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_blendedclipanimator SOURCES tst_blendedclipanimator.cpp diff --git a/tests/auto/animation/blendedclipanimator/blendedclipanimator.pro b/tests/auto/animation/blendedclipanimator/blendedclipanimator.pro deleted file mode 100644 index 0359396ce..000000000 --- a/tests/auto/animation/blendedclipanimator/blendedclipanimator.pro +++ /dev/null @@ -1,12 +0,0 @@ -TEMPLATE = app - -TARGET = tst_blendedclipanimator - -QT += core-private 3dcore 3dcore-private 3danimation 3danimation-private testlib - -CONFIG += testcase - -SOURCES += \ - tst_blendedclipanimator.cpp - -include(../../core/common/common.pri) diff --git a/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp b/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp index b96587796..a18cc1df0 100644 --- a/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp +++ b/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2017 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 <Qt3DAnimation/private/blendedclipanimator_p.h> |