9 | 9 |
Building Mozc on Windows requires the following software.
|
10 | 10 |
|
11 | 11 |
* [Visual Studio 2015 Community Edition](http://visualstudio.com/free), or any greater edition.
|
12 | |
* (optinal) [Qt libraries](http://download.qt.io/archive/qt/)
|
|
12 |
* (optinal) [Qt 5](https://download.qt.io/official_releases/qt/)
|
13 | 13 |
* Commercial version and LGPL version are available.
|
|
14 |
* You must download msvs2015 32-bit version of Qt 5 since currently `mozc_tool.exe` needs to be built as a 32-bit executable.
|
14 | 15 |
|
15 | 16 |
# Get dependent prebuilt binaries
|
16 | 17 |
|
|
43 | 44 |
|
44 | 45 |
```
|
45 | 46 |
cd c:\work\mozc\src
|
46 | |
python build_mozc.py gyp --qtdir=c:\Qt\4.8.0
|
47 | |
```
|
48 | |
|
49 | |
The directory of Qt (`C:\Qt\4.8.0` in this example) differs based on Qt version. If you specify `--noqt` option instead of `--qtdir=<dir to Qt>`, mozc\_tool will be built as a mock version, which does nothing.
|
|
47 |
python build_mozc.py gyp --qtdir=c:\Qt\Qt5.6.2\5.6\msvc2015
|
|
48 |
```
|
|
49 |
|
|
50 |
The directory of Qt (`c:\Qt\Qt5.6.2\5.6\msvc2015` in this example) differs based on Qt version. If you specify `--noqt` option instead of `--qtdir=<dir to Qt>`, mozc\_tool will be built as a mock version, which does nothing.
|
50 | 51 |
|
51 | 52 |
You can also specify `--branding=GoogleJapaneseInput` option and `--wix_dir=<dir to WiX binaries>` option here to reproduce official Google Japanese Input binaries and installers.
|
52 | 53 |
|
|
93 | 94 |
* `C:\work\mozc\src\out\Release\mozc_server.exe`
|
94 | 95 |
* `C:\work\mozc\src\out\Release\mozc_tool.exe` (if you specified `--noqt` option)
|
95 | 96 |
* `C:\work\mozc\src\out\ReleaseDynamic\mozc_tool.exe` (if you didn't specify `--noqt` option)
|
96 | |
* `C:\work\mozc\src\out\ReleaseDynamic\QtCore4.dll` (not required if you specified `--noqt` option)
|
97 | |
* `C:\work\mozc\src\out\ReleaseDynamic\QtGui4.dll` (not required if you specified `--noqt` option)
|
98 | |
|
99 | |
`QtCore4.dll` and `QtGui4.dll` are not required if you specified `--noqt` option into the gyp command.
|
|
97 |
* `C:\work\mozc\src\out\ReleaseDynamic\Qt5Core.dll` (not required if you specified `--noqt` option)
|
|
98 |
* `C:\work\mozc\src\out\ReleaseDynamic\Qt5Gui.dll` (not required if you specified `--noqt` option)
|
|
99 |
* `C:\work\mozc\src\out\ReleaseDynamic\Qt5Widgets.dll` (not required if you specified `--noqt` option)
|
|
100 |
* `C:\work\mozc\src\out\ReleaseDynamic\platforms\qwindows.dll` (not required if you specified `--noqt` option)
|
|
101 |
|
|
102 |
`Qt5Core.dll`, `Qt5Gui.dll`, `Qt5Widgets.dll`, and `qwindows.dll` are not required if you specified `--noqt` option into the gyp command.
|
100 | 103 |
|
101 | 104 |
### Register Mozc for IMM32 into 32-bit environment
|
102 | 105 |
|
|
164 | 167 |
* `C:\work\mozc\src\out\Release\mozc_server.exe`
|
165 | 168 |
* `C:\work\mozc\src\out\Release\mozc_tool.exe` (if you specified `--noqt` option)
|
166 | 169 |
* `C:\work\mozc\src\out\ReleaseDynamic\mozc\_tool.exe` (if you didn't specify `--noqt` option)
|
167 | |
* `C:\work\mozc\src\out\ReleaseDynamic\QtCore4.dll` (not required if you specified `--noqt` option)
|
168 | |
* `C:\work\mozc\src\out\ReleaseDynamic\QtGui4.dll` (not required if you specified `--noqt` option)
|
|
170 |
* `C:\work\mozc\src\out\ReleaseDynamic\Qt5Core.dll` (not required if you specified `--noqt` option)
|
|
171 |
* `C:\work\mozc\src\out\ReleaseDynamic\Qt5Gui.dll` (not required if you specified `--noqt` option)
|
|
172 |
* `C:\work\mozc\src\out\ReleaseDynamic\Qt5Widgets.dll` (not required if you specified `--noqt` option)
|
|
173 |
* `C:\work\mozc\src\out\ReleaseDynamic\platforms\qwindows.dll` (not required if you specified `--noqt` option)
|
169 | 174 |
* `C:\work\mozc\src\out\Release_x64\mozc_broker64.exe`
|
|
175 |
|
|
176 |
`Qt5Core.dll`, `Qt5Gui.dll`, `Qt5Widgets.dll`, and `qwindows.dll` are not required if you specified `--noqt` option into the gyp command.
|
170 | 177 |
|
171 | 178 |
### Register Mozc for IMM32 into 64-bit environment
|
172 | 179 |
|