summaryrefslogtreecommitdiffstats
path: root/tests/auto/animation/functionrangefinder
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/animation/functionrangefinder')
-rw-r--r--tests/auto/animation/functionrangefinder/CMakeLists.txt6
-rw-r--r--tests/auto/animation/functionrangefinder/functionrangefinder.pro11
-rw-r--r--tests/auto/animation/functionrangefinder/tst_functionrangefinder.cpp2
3 files changed, 7 insertions, 12 deletions
diff --git a/tests/auto/animation/functionrangefinder/CMakeLists.txt b/tests/auto/animation/functionrangefinder/CMakeLists.txt
index a069e01a5..19bbd9e22 100644
--- a/tests/auto/animation/functionrangefinder/CMakeLists.txt
+++ b/tests/auto/animation/functionrangefinder/CMakeLists.txt
@@ -7,6 +7,12 @@
## tst_sandwichfinder Test:
#####################################################################
+if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
+ cmake_minimum_required(VERSION 3.16)
+ project(tst_sandwichfinder LANGUAGES CXX)
+ find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
+endif()
+
qt_internal_add_test(tst_sandwichfinder
SOURCES
tst_functionrangefinder.cpp
diff --git a/tests/auto/animation/functionrangefinder/functionrangefinder.pro b/tests/auto/animation/functionrangefinder/functionrangefinder.pro
deleted file mode 100644
index 06b32037c..000000000
--- a/tests/auto/animation/functionrangefinder/functionrangefinder.pro
+++ /dev/null
@@ -1,11 +0,0 @@
-TEMPLATE = app
-
-TARGET = tst_sandwichfinder
-
-QT += core-private 3dcore 3dcore-private 3danimation 3danimation-private testlib
-
-CONFIG += testcase
-
-SOURCES += \
- tst_functionrangefinder.cpp
-
diff --git a/tests/auto/animation/functionrangefinder/tst_functionrangefinder.cpp b/tests/auto/animation/functionrangefinder/tst_functionrangefinder.cpp
index 0e0430955..28ea10a7b 100644
--- a/tests/auto/animation/functionrangefinder/tst_functionrangefinder.cpp
+++ b/tests/auto/animation/functionrangefinder/tst_functionrangefinder.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2015 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 <private/functionrangefinder_p.h>