diff options
author | Liang Qi <liang.qi@qt.io> | 2017-09-06 08:57:05 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2017-09-08 13:11:16 +0000 |
commit | 5393b76f3780b0be33cc727458993223605e5ab1 (patch) | |
tree | b793275da1e797033705ad762e551213d65f6691 /qtspeech.pro | |
parent | d9f592f38ce7fb5a4fe5bd540b2ae9baf16760cc (diff) |
Add configure test for speechd when pkg-config file is not availablev5.9.2
Sadly older speech-dispatcher versions (on RHEL where we package) seem
to not yet ship the correct pkg-config stuff, so try to manually detect
the presence of speechd, so that we finally have linux packages.
And for speech-dispatcher-devel packages (on RHEL where we package),
different versions have different include path. 0.8.7 has
/usr/include/speech-dispatcher and 0.7.1 has /usr/include.
Task-number: QTBUG-58461
Done-with: Frederik Gladhorn<frederik.gladhorn@qt.io>
Change-Id: Ib3946cc7b84411f509dc74f6022831cb16d88b2e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'qtspeech.pro')
-rw-r--r-- | qtspeech.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qtspeech.pro b/qtspeech.pro index 69d4e5b..57563dc 100644 --- a/qtspeech.pro +++ b/qtspeech.pro @@ -2,4 +2,7 @@ lessThan(QT_MAJOR_VERSION, 5): error("The QtSpeech library only supports Qt 5.") load(configure) qtCompileTest(flite) qtCompileTest(flite_alsa) +!packagesExist(speech-dispatcher) { + qtCompileTest(speechd) +} load(qt_parts) |