PDA

View Full Version : how to use Poppler, to display PDF



Same_Andy
27th January 2016, 12:37
Hello,

So I make a lite PDF reader, but the problem is, i don't know how to display a PDF.
I use the third party libery "poppler" on windows. I compiled and includet in QT.
The Reader must render and zoom the pdf.

please help me? :confused::(

ChrisW67
27th January 2016, 20:05
Choose your version
Qt 4 (http://people.freedesktop.org/~aacid/docs/qt4/)
Qt 5 (http://people.freedesktop.org/~aacid/docs/qt5/)
Once you have QImages of pages then you can find a way to display them that suits your application.

Same_Andy
28th January 2016, 15:38
I use QT5 and compile on Windows , at poppler I use the latest version.

ChrisW67
28th January 2016, 20:21
Excellent, then you want to click the Qt5 link from my last post for the example.