aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuha Vuolle <[email protected]>2025-04-25 10:29:50 +0300
committerJuha Vuolle <[email protected]>2025-04-28 15:14:27 +0300
commit272368cbf0a4f164566a8defbeaedc70c1f9f618 (patch)
tree41395ea54742444fe5c1ffc42df7065e9f1ed18d
parentde6036600b9f3ac62d77a68c70ef63052fab76cb (diff)
Remove tst_qquickheaderview from compilation if tableview is disabled
The quickheaderview* files are part of build only when quick_tableview feature is enabled => put the testcase that relies on them behind the same feature flag. Task-number: QTBUG-136101 Pick-to: 6.9 6.8 Change-Id: I01597037edc7fc3f94f75bbf536778a3bdaef7c8 Reviewed-by: Oliver Eftevaag <[email protected]>
-rw-r--r--tests/auto/quickcontrols/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quickcontrols/CMakeLists.txt b/tests/auto/quickcontrols/CMakeLists.txt
index 2c33866536..971740021b 100644
--- a/tests/auto/quickcontrols/CMakeLists.txt
+++ b/tests/auto/quickcontrols/CMakeLists.txt
@@ -29,7 +29,6 @@ add_subdirectory(qquickcontrol)
add_subdirectory(qquickcolor)
add_subdirectory(qquickcontainer)
add_subdirectory(qquickdrawer)
-add_subdirectory(qquickheaderview)
add_subdirectory(qquickiconimage)
add_subdirectory(qquickiconlabel)
add_subdirectory(qquickimaginestyle)
@@ -58,6 +57,7 @@ add_subdirectory(styleimportscompiletimeqmlonly)
add_subdirectory(translation)
if (QT_FEATURE_quick_tableview)
+ add_subdirectory(qquickheaderview)
add_subdirectory(qquicktableviewdelegate)
add_subdirectory(qquickheaderviewdelegate) # inherits QQuickTableViewDelegate
endif()