Add compile flag for QtGuiTest namespace

Add a feature to build QtGuiTest namespace.
Enabled by default, in order to provide access to Squish UI tests.

Fixes: QTBUG-125594
Change-Id: I0188dceb0d966c1837263756ffe7337b69f935f3
Reviewed-by: Stefan Gehn <stefan.gehn@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Axel Spoerl 2024-05-22 16:22:05 +02:00
parent 095340fc11
commit 3c495f9b93

View File

@ -1459,3 +1459,9 @@ E.g., When building QtWebEngine, enabling this option may result in build issues
See https://bugreports.qt.io/browse/QTBUG-59769."
CONDITION QT_ALLOW_SYMLINK_IN_PATHS
)
# QtGuiTest interface
qt_feature_definition("test_gui" "QT_GUI_TEST" VALUE "1")
qt_feature("test_gui" PUBLIC
LABEL "Build QtGuiTest namespace"
)