Answer the question
In order to leave comments, you need to log in
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
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
I don't know about Qt, but there are libraries for C, though only under the GPL: xpdf or MuPDF .
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 questionAsk a Question
731 491 924 answers to any question