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