mupdf-qt-dev

所属分类:Linux/Unix编程
开发工具:QT
文件大小:72KB
下载次数:41
上传日期:2015-12-26 12:05:07
上 传 者vbto
说明:  非常难得的集成Qt和mupdf的代码,经过测试和本本的修改,对QT和pdf的集成有非常大的参考意义
(Very rare and mupdf integrated Qt code, modified testing and books, on QT and very large pdf-integrated reference value)

文件列表:
mupdf-qt-dev (0, 2014-09-22)
mupdf-qt-dev\.script (0, 2014-09-22)
mupdf-qt-dev\.script\qt.supp (123, 2014-09-22)
mupdf-qt-dev\.script\valgrind.sh (760, 2014-09-22)
mupdf-qt-dev\.travis.yml (868, 2014-09-22)
mupdf-qt-dev\CMakeLists.txt (1093, 2014-09-22)
mupdf-qt-dev\COPYING (35147, 2014-09-22)
mupdf-qt-dev\cmake (0, 2014-09-22)
mupdf-qt-dev\cmake\FindMuPDF.cmake (2689, 2014-09-22)
mupdf-qt-dev\doc (0, 2014-09-22)
mupdf-qt-dev\doc\Doxyfile (82912, 2014-09-22)
mupdf-qt-dev\doc\Mainpage.dox (3084, 2014-09-22)
mupdf-qt-dev\examples (0, 2014-09-22)
mupdf-qt-dev\examples\CMakeLists.txt (53, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt (0, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\CMakeLists.txt (155, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\simpleviewer (0, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\simpleviewer\CMakeLists.txt (368, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\simpleviewer\main.cpp (174, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\simpleviewer\mainwindow.cpp (5502, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\simpleviewer\mainwindow.h (1304, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_document (0, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_document\CMakeLists.txt (317, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_document\main.cpp (980, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_outline (0, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_outline\CMakeLists.txt (316, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_outline\main.cpp (1084, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_page (0, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_page\CMakeLists.txt (313, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_page\main.cpp (696, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_text (0, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_text\CMakeLists.txt (313, 2014-09-22)
mupdf-qt-dev\examples\mupdf-qt\test_text\main.cpp (716, 2014-09-22)
mupdf-qt-dev\examples\mupdf (0, 2014-09-22)
mupdf-qt-dev\examples\mupdf\CMakeLists.txt (169, 2014-09-22)
mupdf-qt-dev\examples\mupdf\countpages (0, 2014-09-22)
mupdf-qt-dev\examples\mupdf\countpages\CMakeLists.txt (123, 2014-09-22)
... ...

# 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](http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download), 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

近期下载者

相关文件


收藏者