Hello Speak 示例

“Hello Speak”示例用于朗读用户提供的文本。

“Hello Speak”示例演示了如何在 Qt C++ 应用程序中使用QTextToSpeech 朗读文本并控制语音。

该示例使用小部件界面来提供音高、音量和语速的控制功能。它还允许用户选择语音引擎、语言和语音。

一张截图,展示了文本转语音工具,其中包含调节音量、语速、音高、引擎语言和朗读人声的选项

示例项目 @ code.qt.io

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.