summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt b/tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt
index c7f65b1563..f3bc687b46 100644
--- a/tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt
+++ b/tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt
@@ -1,6 +1,12 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
+if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
+ cmake_minimum_required(VERSION 3.16)
+ project(settingseditor LANGUAGES CXX)
+ find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
+endif()
+
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
qt_internal_add_manual_test(settingseditor
SOURCES