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