summaryrefslogtreecommitdiffstats
path: root/tests/auto/input/qaction
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/input/qaction')
-rw-r--r--tests/auto/input/qaction/CMakeLists.txt6
-rw-r--r--tests/auto/input/qaction/qaction.pro11
-rw-r--r--tests/auto/input/qaction/tst_qaction.cpp2
3 files changed, 7 insertions, 12 deletions
diff --git a/tests/auto/input/qaction/CMakeLists.txt b/tests/auto/input/qaction/CMakeLists.txt
index b13a3bb2e..aba07eb03 100644
--- a/tests/auto/input/qaction/CMakeLists.txt
+++ b/tests/auto/input/qaction/CMakeLists.txt
@@ -7,6 +7,12 @@
## tst_qaction Test:
#####################################################################
+if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
+ cmake_minimum_required(VERSION 3.16)
+ project(tst_qt3d_qaction LANGUAGES CXX)
+ find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
+endif()
+
# special case begin
qt_internal_add_test(tst_qt3d_qaction
# special case end
diff --git a/tests/auto/input/qaction/qaction.pro b/tests/auto/input/qaction/qaction.pro
deleted file mode 100644
index 7d4fba21f..000000000
--- a/tests/auto/input/qaction/qaction.pro
+++ /dev/null
@@ -1,11 +0,0 @@
-TEMPLATE = app
-
-TARGET = tst_qaction
-
-QT += core-private 3dcore 3dcore-private 3dinput 3dinput-private testlib
-
-CONFIG += testcase
-
-SOURCES += tst_qaction.cpp
-
-include(../commons/commons.pri)
diff --git a/tests/auto/input/qaction/tst_qaction.cpp b/tests/auto/input/qaction/tst_qaction.cpp
index b2b715aa5..32f80d82c 100644
--- a/tests/auto/input/qaction/tst_qaction.cpp
+++ b/tests/auto/input/qaction/tst_qaction.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/private/qnode_p.h>