summaryrefslogtreecommitdiffstats
path: root/tests/auto/animation/qclipblendvalue
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/animation/qclipblendvalue')
-rw-r--r--tests/auto/animation/qclipblendvalue/CMakeLists.txt6
-rw-r--r--tests/auto/animation/qclipblendvalue/qclipblendvalue.pro12
-rw-r--r--tests/auto/animation/qclipblendvalue/tst_qclipblendvalue.cpp2
3 files changed, 7 insertions, 13 deletions
diff --git a/tests/auto/animation/qclipblendvalue/CMakeLists.txt b/tests/auto/animation/qclipblendvalue/CMakeLists.txt
index 3a5b0fbf7..ef2fdd76d 100644
--- a/tests/auto/animation/qclipblendvalue/CMakeLists.txt
+++ b/tests/auto/animation/qclipblendvalue/CMakeLists.txt
@@ -7,6 +7,12 @@
## tst_qclipblendvalue Test:
#####################################################################
+if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
+ cmake_minimum_required(VERSION 3.16)
+ project(tst_qclipblendvalue LANGUAGES CXX)
+ find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
+endif()
+
qt_internal_add_test(tst_qclipblendvalue
SOURCES
tst_qclipblendvalue.cpp
diff --git a/tests/auto/animation/qclipblendvalue/qclipblendvalue.pro b/tests/auto/animation/qclipblendvalue/qclipblendvalue.pro
deleted file mode 100644
index b44b387db..000000000
--- a/tests/auto/animation/qclipblendvalue/qclipblendvalue.pro
+++ /dev/null
@@ -1,12 +0,0 @@
-TEMPLATE = app
-
-TARGET = tst_qclipblendvalue
-
-QT += 3dcore 3dcore-private 3danimation 3danimation-private testlib
-
-CONFIG += testcase
-
-SOURCES += \
- tst_qclipblendvalue.cpp
-
-include(../../core/common/common.pri)
diff --git a/tests/auto/animation/qclipblendvalue/tst_qclipblendvalue.cpp b/tests/auto/animation/qclipblendvalue/tst_qclipblendvalue.cpp
index 8cadb1df8..04fddc2df 100644
--- a/tests/auto/animation/qclipblendvalue/tst_qclipblendvalue.cpp
+++ b/tests/auto/animation/qclipblendvalue/tst_qclipblendvalue.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2017 Paul Lemire <paul.lemire350@gmail.com>
-// 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>