summaryrefslogtreecommitdiff
path: root/tools/viewsvg/README.md
blob: 0cecb63f0492264454a2f650f86eb9868de33a25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# viewsvg

A simple SVG viewer using Qt and *resvg* C-API.

## Dependencies

- Qt >= 5.6

## Build

```bash
# build C-API first
cargo build --release --features "qt-backend" --manifest-path ../../capi/Cargo.toml
# build viewsvg
qmake
make
# run
LD_LIBRARY_PATH=../../target/release ./viewsvg
```

See [BUILD.adoc](../../BUILD.adoc) for details.