Skip to content

Commit

Permalink
fixed building instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
yb85 authored Oct 12, 2019
1 parent 60ffd7c commit 7f1aad8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ brew install --devel ./scantailor.rb
```

## Bundling your binary
To use the bundler, you need the fish shell (`brew install fish`) and the utility [macdeployqt](https://doc.qt.io/qt-5.9/osx-deployment.html) to do the linking. Simply run `bundler/scantailor_bundler.command`
To use the bundler, you need the fish shell (`brew install fish`) and the utility [macdeployqt](https://doc.qt.io/qt-5.9/osx-deployment.html) to do the linking.

1. make sure that QT is correctly linked : `brew link --force qt5`
2. add the QT bin folder to your fish path : `echo 'set -g fish_user_paths "/usr/local/opt/qt/bin" $fish_user_paths' >> ~/.config/fish/config.fish`
3. Simply run `bundler/scantailor_bundler.command` (you may have to `chmod 755 bundler/scantailor_bundler.command`)

The bundler script will use the scantailor binary which is in your shell path (the value printed out by `which scantailor`).

0 comments on commit 7f1aad8

Please sign in to comment.