Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeder committed Mar 2, 2019
1 parent 4f40c94 commit 148cb27
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,30 @@ Now you can build it:
CROSS_COMPILE=x86_64-linux-musl- cargo build --target=x86_64-unknown-linux-musl
```

## Test

To run the tests, you'd need to have the `qt` backend installed:

For Mac OS:

```bash
brew install qt
```

For Linux (Ubuntu):

```bash
sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
sudo apt-get update -qq
sudo apt-get install qt5-default qttools5-dev-tools
```

You would need to pass `qt` root directory via the `QT_DIR` environment variable. For example:

```bash
QT_DIR=/usr/local/opt/qt cargo test
```

## Example

Let's see few QR code generation examples:
Expand Down

0 comments on commit 148cb27

Please sign in to comment.