Commit ae421fa4 authored by RazrFalcon's avatar RazrFalcon

Build doc updated.

parent 0eaf6bdc
...@@ -20,4 +20,4 @@ library since it will depend on Qt/cairo anyway. ...@@ -20,4 +20,4 @@ library since it will depend on Qt/cairo anyway.
A usage example with a *cairo* backend can be found at [examples/cairo-capi](../examples/cairo-capi). A usage example with a *cairo* backend can be found at [examples/cairo-capi](../examples/cairo-capi).
A usage example with a *qt* backend can be found in the [demo](../demo) app. A usage example with a *qt* backend can be found in the [examples/qt-demo](../examples/qt-demo) app.
...@@ -61,10 +61,15 @@ QT_DIR=/c/Qt/5.9.3/mingw53_32 cargo.exe build --release --features "qt-backend" ...@@ -61,10 +61,15 @@ QT_DIR=/c/Qt/5.9.3/mingw53_32 cargo.exe build --release --features "qt-backend"
Install GTK+ dependencies using MSYS2 as explained Install GTK+ dependencies using MSYS2 as explained
[here](http://gtk-rs.org/docs/requirements.html#windows). [here](http://gtk-rs.org/docs/requirements.html#windows).
We no need the whole GTK+, so we can install only `pango`, which will install We do not need the whole GTK+, so we can install only `pango` (which will install
`cairo` too. `cairo` too) and `gdk-pixbuf2`:
```
pacman -S mingw-w64-i686-pango mingw-w64-i686-gdk-pixbuf2
```
Then run this command in the MSYS2 MinGW Shell: Then run this command in the MSYS2 MinGW Shell:
``` ```
cargo.exe build --release --features "cairo-backend" cargo.exe build --release --features "cairo-backend"
``` ```
...@@ -87,9 +92,9 @@ PKG_CONFIG_PATH='/path_to_qt/lib/pkgconfig' cargo build --release --features "qt ...@@ -87,9 +92,9 @@ PKG_CONFIG_PATH='/path_to_qt/lib/pkgconfig' cargo build --release --features "qt
### cairo backend ### cairo backend
Install `cairo` and `pango`(with `pangocairo`) using your distributive package manager. Install `cairo`, `pango`(with `pangocairo`) and `gdk-pixbuf` using your distributive's package manager.
For Ubuntu you need only `libpango1.0-dev`. For Ubuntu its `libpango1.0-dev` and `libgdk-pixbuf2.0-dev`.
``` ```
cargo build --release --features "cairo-backend" cargo build --release --features "cairo-backend"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment