Document that availability of slint::testing is conditional to enabling the feature and experimental features.

This commit is contained in:
Simon Hausmann 2024-06-14 13:19:37 +02:00 committed by Simon Hausmann
parent 2be4b320b9
commit bda89c25da

View file

@ -10,6 +10,11 @@
#ifdef SLINT_FEATURE_TESTING
# ifdef SLINT_FEATURE_EXPERIMENTAL
/// Use the functions and classes in this namespace for in-process UI testing.
///
/// This module is still experimental - it's API is subject to changes and not stabilized yet. To
/// use the module, you must enable the `SLINT_FEATURE_EXPERIMENTAL=ON` and `SLINT_FEATURE_TESTING`
/// CMake options.
namespace slint::testing {
using slint::cbindgen_private::AccessibleRole;