diff options
Diffstat (limited to 'tests/auto/core/qskeleton')
-rw-r--r-- | tests/auto/core/qskeleton/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tests/auto/core/qskeleton/qskeleton.pro | 11 | ||||
-rw-r--r-- | tests/auto/core/qskeleton/tst_qskeleton.cpp | 2 |
3 files changed, 7 insertions, 12 deletions
diff --git a/tests/auto/core/qskeleton/CMakeLists.txt b/tests/auto/core/qskeleton/CMakeLists.txt index 398ca7d1b..de6f924b4 100644 --- a/tests/auto/core/qskeleton/CMakeLists.txt +++ b/tests/auto/core/qskeleton/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_qskeleton Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_qskeleton LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_qskeleton SOURCES tst_qskeleton.cpp diff --git a/tests/auto/core/qskeleton/qskeleton.pro b/tests/auto/core/qskeleton/qskeleton.pro deleted file mode 100644 index 3bbb48a3c..000000000 --- a/tests/auto/core/qskeleton/qskeleton.pro +++ /dev/null @@ -1,11 +0,0 @@ -TEMPLATE = app - -TARGET = tst_qskeleton - -QT += core-private 3dcore 3dcore-private testlib - -CONFIG += testcase - -SOURCES += tst_qskeleton.cpp - -include(../common/common.pri) diff --git a/tests/auto/core/qskeleton/tst_qskeleton.cpp b/tests/auto/core/qskeleton/tst_qskeleton.cpp index cdfb672a4..d5ce41b11 100644 --- a/tests/auto/core/qskeleton/tst_qskeleton.cpp +++ b/tests/auto/core/qskeleton/tst_qskeleton.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/qskeleton.h> |