Make dprgadget 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 6.5 Change-Id: Ie9694569c24dc0c714c2538819e7d9d8ff7e44e4 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
523973f16b
commit
b35ea9b974
@ -5,6 +5,12 @@
|
||||
## dprgadget Binary:
|
||||
#####################################################################
|
||||
|
||||
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(dprgadget LANGUAGES C CXX ASM)
|
||||
find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
|
||||
endif()
|
||||
|
||||
qt_internal_add_manual_test(dprgadget
|
||||
SOURCES
|
||||
main.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user