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. Change-Id: I79213e7d3c38851b8b80cb8ab248d7bff750c227 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 38380de63c53b27dc85a1ba49e1ffade1c183fdd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
bcdcceca6c
commit
16c1d52a66
@ -15,7 +15,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user