forked from khaledhosny/libmathview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.qt
34 lines (24 loc) · 768 Bytes
/
README.qt
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
MathView Qt Port
To build this you need qt5.
Build & Install Guide on OSX
# install Command Line Tools if you don't have XCode installed
xcode-select --install
# install dependencies through Homebrew
brew install autoconf automake libtool pkg-config qt5 harfbuzz
# configure
cd libmathview (root-of-git-repo)
./autogen.sh
mkdir build install
cd build
HARFBUZZ_CFLAGS="-I/usr/local/include/harfbuzz" \
PKG_CONFIG_PATH=/usr/local/opt/qt5/lib/pkgconfig/ \
../configure \
--prefix=`pwd`/../install --enable-qt=yes --enable-libxml2=yes \
--enable-custom-reader=no --enable-libxml2-reader=no --enable-gtk=no --enable-cairo=no --enable-glib=no
# build
make install
Run Qt viewer on OSX
cd ../install/bin
./mml-view-qt path/to/mathml/xml
TODO
formula editor widget