G
G
Gleb Igumnov2011-06-22 14:59:13
Qt
Gleb Igumnov, 2011-06-22 14:59:13

Rendering PDF document in Win32\Qt\C++?

Recommend a free component that can render a PDF document in Qt to display it, for example, on a standard QLabel.
A prerequisite is complete autonomy, so Adobe Acrobat ActiveX is not suitable.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
my2you, 2011-06-22
@CrazySage

poppler-qt, I myself use it in the KBookOCR project, in my opinion the MOST successful and fastest solution. You can render a PDF page directly in QImage and MANY more functions out of the box

M
MikhailEdoshin, 2011-06-22
@MikhailEdoshin

I don't know about Qt, but there are libraries for C, though only under the GPL: xpdf or MuPDF .

G
Gleb Igumnov, 2011-06-26
@CrazySage

One more question. I installed the devel package of Poppler and all its dependencies, added poppler.lib, poppler-qt4.lib and poppler-cpp.lib to the linker, included poppler-qt4.h. Everything is normally assembled and linked, but at startup the program starts to require poppler-qt4.dll and qt dlls, despite the fact that my qt is statically linked (although it is possible that Poppler pulls dlls). How to link all this completely statically?
I'm compiling in Visual Studio 2008, Properties->C\C++->Runtime Library already has /MT
I understand that the question is probably stupid, but I've only recently been programming under Windows, some things are quite unusual compared to Linux.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question