diff --git a/QGCExternalLibs.pri b/QGCExternalLibs.pri index e25abb0a90064e2ad892c9ca7c54818de8eace2d..06cb2e1fb9dbc95f093276ffb4d7d49351acdaf9 100644 --- a/QGCExternalLibs.pri +++ b/QGCExternalLibs.pri @@ -92,46 +92,6 @@ MacBuild { -lSDL2 } -## -# [OPTIONAL] Speech synthesis library support. -# Can be forcibly disabled by adding a `DEFINES+=DISABLE_SPEECH` argument to qmake. -# Linux support requires the eSpeak speech synthesizer (espeak). -# Mac support is provided in Snow Leopard and newer (10.6+) -# Windows is supported as of Windows 7 -# -contains (DEFINES, DISABLE_SPEECH) { - message("Skipping support for speech output (manual override from command line)") - DEFINES -= DISABLE_SPEECH -# Otherwise the user can still disable this feature in the user_config.pri file. -} else:exists(user_config.pri):infile(user_config.pri, DEFINES, DISABLE_SPEECH) { - message("Skipping support for speech output (manual override from user_config.pri)") -} else:LinuxBuild { - exists(/usr/include/espeak) | exists(/usr/local/include/espeak) { - message("Including support for speech output") - DEFINES += QGC_SPEECH_ENABLED - LIBS += \ - -lespeak - } else { - warning("Skipping support for speech output (missing libraries, see README)") - } -} -# Mac support is built into OS 10.6+. -else:MacBuild|iOSBuild { - message("Including support for speech output") - DEFINES += QGC_SPEECH_ENABLED -} -# Windows supports speech through native API. -else:WindowsBuild { - message("Including support for speech output") - DEFINES += QGC_SPEECH_ENABLED - LIBS += -lOle32 -} -# Android supports speech through native (Java) API. -else:AndroidBuild { - message("Including support for speech output") - DEFINES += QGC_SPEECH_ENABLED -} - # # [OPTIONAL] Zeroconf for UDP links #