TextEditTextToSpeech
TextEditTextToSpeech provides text to speech api.
Using the Module
Using a KDE module's C++ API requires linking against the module library. The preferred way of consuming the library is through CMake.
Building with CMake
Use the find_package() command to locate the KF6TextEditTextToSpeech package
find_package(KF6TextEditTextToSpeech REQUIRED)
target_link_libraries(mytarget PRIVATE KF6::TextEditTextToSpeech)
For more details, see the Build with CMake overview.