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>
This commit is contained in:
parent
41c8d215f2
commit
38380de63c
@ -21,7 +21,7 @@ qt_internal_add_test(tst_qstatictext
|
|||||||
## Scopes:
|
## Scopes:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_extend_target(tst_qstatictext CONDITION QT_FEATURE_private_tests
|
qt_internal_extend_target(tst_qstatictext CONDITION QT_FEATURE_developer_build
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::GuiPrivate
|
Qt::GuiPrivate
|
||||||
|
Loading…
Reference in New Issue
Block a user