Make iconbrowser manual test directly openable in Creator
This avoids the need to run qt-cmake-standalone-test and then import the test, as described in QTCREATORBUG-25389. Pick-to: 6.9 6.8 Change-Id: I010d6613debb2e34ef3809d2da78ca33ade4d602 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
38277a88f1
commit
742a0ed72f
@ -1,6 +1,12 @@
|
||||
# Copyright (C) 2023 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(iconbrowser LANGUAGES C CXX ASM)
|
||||
find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
|
||||
endif()
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Gui Widgets)
|
||||
|
||||
qt_internal_add_manual_test(iconbrowser
|
||||
|
Loading…
x
Reference in New Issue
Block a user