diff options
Diffstat (limited to 'tests/auto/core/qchangearbiter')
-rw-r--r-- | tests/auto/core/qchangearbiter/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tests/auto/core/qchangearbiter/qchangearbiter.pro | 10 | ||||
-rw-r--r-- | tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp | 2 |
3 files changed, 7 insertions, 11 deletions
diff --git a/tests/auto/core/qchangearbiter/CMakeLists.txt b/tests/auto/core/qchangearbiter/CMakeLists.txt index 1ee8cfb5b..e3ae8bdce 100644 --- a/tests/auto/core/qchangearbiter/CMakeLists.txt +++ b/tests/auto/core/qchangearbiter/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_qchangearbiter Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_qchangearbiter LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_qchangearbiter SOURCES tst_qchangearbiter.cpp diff --git a/tests/auto/core/qchangearbiter/qchangearbiter.pro b/tests/auto/core/qchangearbiter/qchangearbiter.pro deleted file mode 100644 index 4628bf6cd..000000000 --- a/tests/auto/core/qchangearbiter/qchangearbiter.pro +++ /dev/null @@ -1,10 +0,0 @@ -TARGET = tst_qchangearbiter -CONFIG += testcase -TEMPLATE = app - -QT += testlib core core-private 3dcore 3dcore-private - -SOURCES += \ - tst_qchangearbiter.cpp - -include(../common/common.pri) diff --git a/tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp b/tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp index 4508098c0..8da627fe5 100644 --- a/tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp +++ b/tests/auto/core/qchangearbiter/tst_qchangearbiter.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2014 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/qchangearbiter_p.h> |