summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/aspectcommanddebugger
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/aspectcommanddebugger')
-rw-r--r--tests/auto/core/aspectcommanddebugger/CMakeLists.txt6
-rw-r--r--tests/auto/core/aspectcommanddebugger/aspectcommanddebugger.pro7
-rw-r--r--tests/auto/core/aspectcommanddebugger/tst_aspectcommanddebugger.cpp2
3 files changed, 7 insertions, 8 deletions
diff --git a/tests/auto/core/aspectcommanddebugger/CMakeLists.txt b/tests/auto/core/aspectcommanddebugger/CMakeLists.txt
index 3c4970c9d..9bbcf3e68 100644
--- a/tests/auto/core/aspectcommanddebugger/CMakeLists.txt
+++ b/tests/auto/core/aspectcommanddebugger/CMakeLists.txt
@@ -7,6 +7,12 @@
## tst_aspectcommandddebugger Test:
#####################################################################
+if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
+ cmake_minimum_required(VERSION 3.16)
+ project(tst_aspectcommandddebugger LANGUAGES CXX)
+ find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
+endif()
+
qt_internal_add_test(tst_aspectcommandddebugger
SOURCES
tst_aspectcommanddebugger.cpp
diff --git a/tests/auto/core/aspectcommanddebugger/aspectcommanddebugger.pro b/tests/auto/core/aspectcommanddebugger/aspectcommanddebugger.pro
deleted file mode 100644
index 029a84507..000000000
--- a/tests/auto/core/aspectcommanddebugger/aspectcommanddebugger.pro
+++ /dev/null
@@ -1,7 +0,0 @@
-TARGET = tst_aspectcommandddebugger
-CONFIG += testcase
-TEMPLATE = app
-
-SOURCES += tst_aspectcommanddebugger.cpp
-
-QT += testlib 3dcore 3dcore-private core-private
diff --git a/tests/auto/core/aspectcommanddebugger/tst_aspectcommanddebugger.cpp b/tests/auto/core/aspectcommanddebugger/tst_aspectcommanddebugger.cpp
index d3134a9f3..71ee59192 100644
--- a/tests/auto/core/aspectcommanddebugger/tst_aspectcommanddebugger.cpp
+++ b/tests/auto/core/aspectcommanddebugger/tst_aspectcommanddebugger.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2016 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/aspectcommanddebugger_p.h>