mupdf-qt

https://github.com/xiangxw/mupdf-qt

  •  Code
  •  Issues1
  •  Pull Requests0
  •  Wiki
  •  Pulse
  •  Graphs

HTTPS clone URL

You can clone with HTTPS orSubversion. 

 Clone in Desktop  Download ZIP
Qt5 interface of the popular PDF library MuPDF 

http://xiangxw.github.io/mupdf-qt

  •  142 commits
  •  branches
  •  releases
  •  contributors
  1.  C++ 84.7%
  2.  C 14.0%
  3.  Shell 1.3%
C++ C Shell
 branch: dev 

Update README.md

latest commit  f61a5f7d88
  xiangxw authored on 22 Sep 2014
.script use valgrind to check memory leaks 6 months ago
cmake replace tab with spaces 7 months ago
doc update doxygen Mainpage.dox 6 months ago
examples remove Page::setTransform() 6 months ago
include update doxygen document 6 months ago
mupdf @ 2917049 update mupdf source 4 months ago
src add doxygen mainpage 6 months ago
.gitignore modify .gitignore 6 months ago
.gitmodules update mupdf to version 1.4; full support for MSVC 9 months ago
.travis.yml support cmake 2.8.11 for ubuntu 12.04 on travis 4 months ago
CMakeLists.txt support cmake 2.8.11 for ubuntu 12.04 on travis 4 months ago
COPYING add COPYING 3 years ago
README.md Update README.md 4 months ago

 README.md

How to compile mupdf-qt

Compile on Linux

Install tools and thirdparty libraries

You should install some tools and thirdparty libraries. For Ubuntu users, you can use the following command(similar for other Linux users):

sudo apt-get install build-essential pkg-config cmake qtbase5-dev qt5-default libfreetype6-dev
Clone source code
git clone https://github.com/xiangxw/mupdf-qt.git
cd mupdf-qt
git submodule update --init --recursive
Compile MuPDF Source
cd mupdf
make
Compile mupdf-qt
cd ..
mkdir build
cd build
cmake ..
make

Compile on Window with Visual Studio

Clone source code
git clone https://github.com/xiangxw/mupdf-qt.git
cd mupdf-qt
git submodule update --init --recursive
Compile MuPDF Source

Go to platforms/win32, open mupdf.sln and build.

Qt5

Install Qt5 and add path of qmake.exe to PATH

Compile mupdf-qt

Launch CMake(gui version), set source code directory and build directory. Configure and generate mupdf-qt.sln. Open mupdf-qt.sln and build it.

Compile on Window with MSYS MinGW

Clone source code
git clone https://github.com/xiangxw/mupdf-qt.git
cd mupdf-qt
git submodule update --init --recursive
Installing MSYS/MinGW

Install MSYS and MinGW (http://www.mingw.org/wiki/Getting_Started). Using the Graphical User Interface Installer, mingw-get-setup.exe, is recommended. During installation, "checking/ticking" the following in "Basic Setup" is recommended:

  1. mingw32-base
  2. mingw32-gcc-g++
  3. msys-base
  4. mingw-developer-toolkit

Add C:\MinGW\bin; to your PATH system variables (at the beginning).

Compile MuPDF source
cd mupdf-qt
make build=debug NOX11=yes

For release, just change "debug" to "release". NOX11 is necessary since X11 headers are not available in Windows. Note that this will not build the "app" packaged with the MuPDF source.

Compile mupdf-qt

Install CMake.

Open CMakeLists.txt with Qt Creator(Qt5 built with mingw), run cmake and build mupdf-qt


你可能感兴趣的:(pdf,库)