hello_speak.pro Example File

hello_speak/hello_speak.pro
 TEMPLATE = app

 QT += widgets texttospeech
 requires(qtHaveModule(gui))
 qtHaveModule(gui): requires(qtConfig(combobox))

 SOURCES = main.cpp \
           mainwindow.cpp
 HEADERS = mainwindow.h

 FORMS = mainwindow.ui

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/speech/hello_speak
 INSTALLS += target