diff options
Diffstat (limited to 'tests/auto/render/qeffect')
-rw-r--r-- | tests/auto/render/qeffect/CMakeLists.txt | 6 | ||||
-rw-r--r-- | tests/auto/render/qeffect/qeffect.pro | 12 | ||||
-rw-r--r-- | tests/auto/render/qeffect/tst_qeffect.cpp | 2 |
3 files changed, 7 insertions, 13 deletions
diff --git a/tests/auto/render/qeffect/CMakeLists.txt b/tests/auto/render/qeffect/CMakeLists.txt index 1fe454b8f..967dabb3e 100644 --- a/tests/auto/render/qeffect/CMakeLists.txt +++ b/tests/auto/render/qeffect/CMakeLists.txt @@ -7,6 +7,12 @@ ## tst_qeffect Test: ##################################################################### +if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(tst_qeffect LANGUAGES CXX) + find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) +endif() + qt_internal_add_test(tst_qeffect SOURCES tst_qeffect.cpp diff --git a/tests/auto/render/qeffect/qeffect.pro b/tests/auto/render/qeffect/qeffect.pro deleted file mode 100644 index 4cb6abd13..000000000 --- a/tests/auto/render/qeffect/qeffect.pro +++ /dev/null @@ -1,12 +0,0 @@ -TEMPLATE = app - -TARGET = tst_qeffect - -QT += 3dcore 3dcore-private 3drender 3drender-private testlib - -CONFIG += testcase - -SOURCES += tst_qeffect.cpp - -include(../../core/common/common.pri) -include(../commons/commons.pri) diff --git a/tests/auto/render/qeffect/tst_qeffect.cpp b/tests/auto/render/qeffect/tst_qeffect.cpp index 3b7d7ca15..4e9feb671 100644 --- a/tests/auto/render/qeffect/tst_qeffect.cpp +++ b/tests/auto/render/qeffect/tst_qeffect.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> |