diff options
Diffstat (limited to 'tests/auto/animation/qanimationcliploader')
3 files changed, 7 insertions, 13 deletions
diff --git a/tests/auto/animation/qanimationcliploader/CMakeLists.txt b/tests/auto/animation/qanimationcliploader/CMakeLists.txt index 78a6b0bab..807a0516f 100644 --- a/tests/auto/animation/qanimationcliploader/CMakeLists.txt +++ b/tests/auto/animation/qanimationcliploader/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_qanimationclip Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_qanimationclip LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_qanimationclip SOURCES tst_qanimationcliploader.cpp diff --git a/tests/auto/animation/qanimationcliploader/qanimationcliploader.pro b/tests/auto/animation/qanimationcliploader/qanimationcliploader.pro deleted file mode 100644 index d6ef54df6..000000000 --- a/tests/auto/animation/qanimationcliploader/qanimationcliploader.pro +++ /dev/null @@ -1,12 +0,0 @@ -TEMPLATE = app - -TARGET = tst_qanimationclip - -QT += 3dcore 3dcore-private 3danimation 3danimation-private testlib - -CONFIG += testcase - -SOURCES += \ - tst_qanimationcliploader.cpp - -include(../../core/common/common.pri) diff --git a/tests/auto/animation/qanimationcliploader/tst_qanimationcliploader.cpp b/tests/auto/animation/qanimationcliploader/tst_qanimationcliploader.cpp index 963268c34..89db3578f 100644 --- a/tests/auto/animation/qanimationcliploader/tst_qanimationcliploader.cpp +++ b/tests/auto/animation/qanimationcliploader/tst_qanimationcliploader.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> |