summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2023-08-30 10:02:29 +0200
committerAxel Spoerl <axel.spoerl@qt.io>2023-08-31 22:11:51 +0000
commit38380de63c53b27dc85a1ba49e1ffade1c183fdd (patch)
tree2735795dac7d8b585c0e99a2dfb690edfa814b24
parent41c8d215f273c048d76c51de4c56cb55c4325c85 (diff)
tst_qstatictext: Fix CMake condition
Private libraries were linked conditional to QT_FEATURE_private_tests in the CMake file. qstatictext_p.h was included conditional to developer build. A developer build fails, with test enabled and private tests disabled. => Change the CMake condition to QT_FEATURE_developer_build, to resolve mismatch between CMake and cpp file. Pick-to: 6.6 6.5 6.2 Change-Id: I79213e7d3c38851b8b80cb8ab248d7bff750c227 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
-rw-r--r--tests/auto/gui/text/qstatictext/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/text/qstatictext/CMakeLists.txt b/tests/auto/gui/text/qstatictext/CMakeLists.txt
index 560eab8db5..bdad2609fe 100644
--- a/tests/auto/gui/text/qstatictext/CMakeLists.txt
+++ b/tests/auto/gui/text/qstatictext/CMakeLists.txt
@@ -21,7 +21,7 @@ qt_internal_add_test(tst_qstatictext
## Scopes:
#####################################################################
-qt_internal_extend_target(tst_qstatictext CONDITION QT_FEATURE_private_tests
+qt_internal_extend_target(tst_qstatictext CONDITION QT_FEATURE_developer_build
LIBRARIES
Qt::CorePrivate
Qt::GuiPrivate