Results 1 to 2 of 2

Thread: How to open pdf in plugin with qtwebkit

  1. #1
    Join Date
    Jul 2009
    Posts
    1
    Qt products
    Qt4 Qt Jambi
    Platforms
    Unix/X11 Windows

    Default How to open pdf in plugin with qtwebkit

    When I use QtWebkit (4.5.2) to open a pdf, it just shows a blank page. Do I need to do anything special to make the Acrobat plugin work?

    I haven't managed to find anything even related to plugins, aside from Flash i the last couple of hours of googling, and those are mostly just announcements that flash works - which it does.

  2. #2
    Join Date
    Jan 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: How to open pdf in plugin with qtwebkit

    I'm having the same problem.

    It doesn't seem to matter whether I try to load a PDF into a QWebView directly from a URL (e.g. http://doc.trolltech.com/qq/QtQuarterly30.pdf) or whether I embed the PDF in an object tag on an HTML page.

    The plugin seems to load and doesn't report any errors but the area of the screen which should show the PDF doesn't paint properly.

    I also tried to load a PDF in the Browser QT sample and got the same results. If I try in a browser (IE and Safari tried), it loads the PDF no problem.

    I have Adobe Reader 9 installed, OS is Windows XP.

    Anyone know how to get this working?

    Thanks.

Similar Threads

  1. Extending a plugin in a static library
    By ultim8 in forum Qt Programming
    Replies: 5
    Last Post: 25th March 2010, 15:10
  2. Trouble with plugin system's documentation
    By niklas in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2009, 22:07
  3. QPluginLoader doesn't load plugin
    By BeS in forum Qt Programming
    Replies: 6
    Last Post: 26th November 2008, 19:12
  4. Plugin implementation question
    By JPNaude in forum Qt Programming
    Replies: 12
    Last Post: 27th August 2008, 20:24
  5. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.