PDA

View Full Version : How to display an existing pdf file



newbie43
3rd February 2011, 17:42
Group
What would be the quickest way to display an existing pdf file like /tmp/somepdf.pdf i was thinking a QWebView? Afterwards i worry
about printing it. Thanks for any help.

Lykurg
3rd February 2011, 18:12
Use the Poppler library.

Chexov
3rd February 2011, 18:22
Dude) http://www.qtcentre.org/threads/13682-How-to-display-PDF-in-Qt

srazi
4th February 2011, 17:11
for start with poppler you can see the source code of TeXworks or Texmaker, both are opensource Qt projects and both have an embedded PDF viewer.