summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/qarmature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/qarmature')
-rw-r--r--tests/auto/core/qarmature/CMakeLists.txt6
-rw-r--r--tests/auto/core/qarmature/qarmature.pro11
-rw-r--r--tests/auto/core/qarmature/tst_qarmature.cpp2
3 files changed, 7 insertions, 12 deletions
diff --git a/tests/auto/core/qarmature/CMakeLists.txt b/tests/auto/core/qarmature/CMakeLists.txt
index 6689f6a70..7bd6a5676 100644
--- a/tests/auto/core/qarmature/CMakeLists.txt
+++ b/tests/auto/core/qarmature/CMakeLists.txt
@@ -7,6 +7,12 @@
## tst_qarmature Test:
#####################################################################
+if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
+ cmake_minimum_required(VERSION 3.16)
+ project(tst_qarmature LANGUAGES CXX)
+ find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
+endif()
+
qt_internal_add_test(tst_qarmature
SOURCES
tst_qarmature.cpp
diff --git a/tests/auto/core/qarmature/qarmature.pro b/tests/auto/core/qarmature/qarmature.pro
deleted file mode 100644
index 1d4769310..000000000
--- a/tests/auto/core/qarmature/qarmature.pro
+++ /dev/null
@@ -1,11 +0,0 @@
-TEMPLATE = app
-
-TARGET = tst_qarmature
-
-QT += core-private 3dcore 3dcore-private testlib
-
-CONFIG += testcase
-
-SOURCES += tst_qarmature.cpp
-
-include(../common/common.pri)
diff --git a/tests/auto/core/qarmature/tst_qarmature.cpp b/tests/auto/core/qarmature/tst_qarmature.cpp
index 114c9abcb..54b916d00 100644
--- a/tests/auto/core/qarmature/tst_qarmature.cpp
+++ b/tests/auto/core/qarmature/tst_qarmature.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 <Qt3DCore/qarmature.h>