tests/benchmarks/quickcontrols2: allow opening projects in Creator

Otherwise it's only possible to build these projects on the command
line with qt-cmake-standalone-test.

Task-number: QTBUG-93020
Pick-to: 6.2 6.3 6.4
Change-Id: I84e5bd2b6b3bb7cb8deac22ec417af793ae8c1d6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Mitch Curtis 2022-09-07 11:51:08 +08:00
parent 4e38a6a194
commit 04926f4320
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,12 @@
# Generated from creationtime.pro.
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(tst_creationtime LANGUAGES C CXX ASM)
find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
#####################################################################
## tst_creationtime Test:
#####################################################################

View File

@ -3,6 +3,12 @@
# Generated from objectcount.pro.
if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
cmake_minimum_required(VERSION 3.16)
project(tst_objectcount LANGUAGES C CXX ASM)
find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST)
endif()
#####################################################################
## tst_objectcount Test:
#####################################################################