diff options
Diffstat (limited to 'tests/auto/animation/channelmapping')
-rw-r--r-- | tests/auto/animation/channelmapping/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tests/auto/animation/channelmapping/channelmapping.pro | 11 | ||||
-rw-r--r-- | tests/auto/animation/channelmapping/tst_channelmapping.cpp | 2 |
3 files changed, 7 insertions, 12 deletions
diff --git a/tests/auto/animation/channelmapping/CMakeLists.txt b/tests/auto/animation/channelmapping/CMakeLists.txt index bdeed9e27..04ac640a4 100644 --- a/tests/auto/animation/channelmapping/CMakeLists.txt +++ b/tests/auto/animation/channelmapping/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_channelmapping Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_channelmapping LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_channelmapping SOURCES tst_channelmapping.cpp diff --git a/tests/auto/animation/channelmapping/channelmapping.pro b/tests/auto/animation/channelmapping/channelmapping.pro deleted file mode 100644 index eeae99a23..000000000 --- a/tests/auto/animation/channelmapping/channelmapping.pro +++ /dev/null @@ -1,11 +0,0 @@ -TEMPLATE = app - -TARGET = tst_channelmapping - -QT += core-private 3dcore 3dcore-private 3danimation 3danimation-private testlib - -CONFIG += testcase - -SOURCES += tst_channelmapping.cpp - -include(../../core/common/common.pri) diff --git a/tests/auto/animation/channelmapping/tst_channelmapping.cpp b/tests/auto/animation/channelmapping/tst_channelmapping.cpp index 13a0ff568..b0c28d952 100644 --- a/tests/auto/animation/channelmapping/tst_channelmapping.cpp +++ b/tests/auto/animation/channelmapping/tst_channelmapping.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 <qbackendnodetester.h> |