qt5-host-tools: update README

This commit is contained in:
Tony Theodore 2016-07-09 21:43:17 +10:00
parent 0bc628650f
commit ff380791b7
1 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,9 @@ Cross Compiling a Host Toolchain
--------------------------------
This plugin demonstrates a minimal working toolchain built with MXE to
execute on a Windows host. To build:
execute on a Windows host.
#### GCC
```
make gcc-host MXE_PLUGIN_DIRS=plugins/examples/host-toolchain/
@ -15,6 +17,15 @@ Once complete, copy `usr/{target}` to an appropriate Windows machine
and execute the `usr\{target}\bin\test-gcc-host.bat` batch file. This
builds and runs the `libgomp` test as a sanity check.
#### Qt5 tools (`qmake.exe`, `rcc.exe`, etc.)
```
make qt5-host-tools MXE_PLUGIN_DIRS=plugins/examples/host-toolchain/
```
This will build `qtbase` then run a second pass to cross-compile the qt tools
and install them to `usr/{target}/qt5-host-tools/bin`.
Why?
----