forked from zdenop/qt-box-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
41 lines (31 loc) · 965 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
REQUIREMENTS
============
* QT4 (tested with QT-4.7.3, QT-4.8.2)
* leptonica library
* tesseract 3.01 or 3.02 build as library
Obs.: In case you're compiling it with QT5 >= then you must to install libqt5svg5-dev/libqt5svg5-devel
BUILDING
========
adjust location of leptonica and tesseract in qt-box-editor.pro
qmake
make
In case of Windows, output is in win32 directory.
BUILDING ON UBUNTU
==================
sudo apt-get install qt5-qmake
sudo apt-get install qt5-default
sudo apt-get install libqt5gui5
sudo apt-get install qt5-doc
sudo apt-get install libqt5svg5-dev
sudo apt-get install libleptonica-dev
qmake -qt=5
make
BUILDING ON OSX
==================
Before you can run the qmake/ make commands below, you'll need to install the Apple published Xcode suite, and run it at least once so the terms can be agreed to.
brew cask install xquartz
brew install --with-training-tools tesseract
brew install qt
qmake
make
open qt-box-editor-1.13dev.app/