diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2021-04-23 10:31:21 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2021-04-26 11:12:46 +0200 |
commit | c4d48e3b8aeb57154b674f5a53ba08678ad9983c (patch) | |
tree | c30f4880cee3a5e147c1c40bca61442a50eb3e2e /tests/manual/headerview | |
parent | b43b6ff94e98bf9afd19c20fba7ddb90ce47cedb (diff) |
Fix up build system files for manual tests
- Add missing tests to qmake/CMake "sub-dir" projects
- Make each manual test a standalone project so that it can be opened
in Creator
Task-number: QTBUG-93020
Change-Id: I534192852fb8ffdf85398479fb0da2a29d04330a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/manual/headerview')
-rw-r--r-- | tests/manual/headerview/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/headerview/CMakeLists.txt b/tests/manual/headerview/CMakeLists.txt index 035082d1..4c4ae94a 100644 --- a/tests/manual/headerview/CMakeLists.txt +++ b/tests/manual/headerview/CMakeLists.txt @@ -1,5 +1,11 @@ # Generated from headerview.pro. +if (NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) + cmake_minimum_required(VERSION 3.16) + project(headerview LANGUAGES C CXX ASM) + find_package(Qt6BuildInternals COMPONENTS STANDALONE_TEST) +endif() + ##################################################################### ## headerview Binary: ##################################################################### |