forked from LynxLine/qtspeech
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL.txt
44 lines (33 loc) · 1.1 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Introduction
============
QtSpeech uses qmake to build itself as static library.
qmake is part of a Qt distribution. For Unix Festival
is required as TTS engine.
Building QtSpeech
==========================
A) Unix
--------
sh get-festival.sh
qmake QtSpeech.pro
make
B) Win32/MSVC
--------
Install Speech SDK (Windows XP - Speech SDK 5.1).
Unfortunately fixes in header files are required.
Maybe due to outdated version of SDK for Windows XP.
sphelper.h:
line 769:
- const ulLenVendorPreferred = wcslen(pszVendorPreferred);
+ const ULONG ulLenVendorPreferred = wcslen(pszVendorPreferred);
line 1418:
- static CoMemCopyWFEX(const WAVEFORMATEX * pSrc, WAVEFORMATEX ** ppCoMemWFEX)
+ static int CoMemCopyWFEX(const WAVEFORMATEX * pSrc, WAVEFORMATEX ** ppCoMemWFEX)
line 2372:
- for (const WCHAR * psz = (const WCHAR *)lParam; *psz; psz++) {}
+ const WCHAR * psz; for (psz = (const WCHAR *)lParam; *psz; psz++) {}
As alternative to avoid building process you can use already built
QtSpeech.vs2005.lib, but still you will need sapi.lib on linking stage.
B) Mac OS X
--------
qmake QtSpeech.pro
make