Reference: https://forum.diybookscanner.org/viewtopic.php?t=3407#p20608
- Download the experimental branch from here: https://github.com/Tulon/scantailor/tree/experimental (Or, possibly, in the future: Some other fork of ScanTailor)
- In the file
scantailor-experimental/filters/page_split/OptionsWidget.cpp
add after all the#include
-statements the following line:#include <QButtonGroup>
- Via homebrew run:
brew install cmake eigen qt5 jpeg libtiff boost
- CD into the scantailor-directory (root level)
- Run
cmake . -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.8.0_2
-- attention: Replace the Qt-version with the one that brew installed! - if it was successful (read the last few lines of output), run:
make
- The make-run will take a lot of time.
- Then run
sudo make install
- Now you can run Scantailor by firing up a terminal and typing
scantailor
. It's not the best, but it works fantastic.
The setup script will install the following paths (in case you'd like to uninstall it later):
-- Installing: /usr/local/bin/scantailor
-- Installing: /usr/local/bin/scantailor-cli
-- Installing: /usr/local/share/scantailor/translations/scantailor_bg.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_cs.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_de.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_es.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_fr.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_hr.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_it.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_ja.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_pl.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_pt_BR.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_ro.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_ru.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_sk.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_uk.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_zh_CN.qm
-- Installing: /usr/local/share/scantailor/translations/scantailor_zh_TW.qm
-- Installing: /usr/local/lib/scantailor/libdewarping.dylib
-- Installing: /usr/local/lib/scantailor/libfoundation.dylib
-- Installing: /usr/local/lib/scantailor/libmath.dylib
-- Installing: /usr/local/lib/scantailor/libimageproc.dylib
-- Installing: /usr/local/lib/scantailor/libacceleration.dylib
-- Installing: /usr/local/lib/scantailor/libopencl_plugin.so