QWebView and Jquery Print Area



  • Hello,
    Am using the "Jquery Print Area plugin/Jqprint":https://github.com/tanathos/jquery.jqprint on my site so that it can print a particular <div> and not the whole page. The jquery works by evoking a print dialog in a browser, but when I access the site through a QWebView application the jquery doesn't seem to work, no print dialog is shown. How do I get it to work in QWebView
    Thanks in advance


  • Moderators

    impossible to help you with that amount of details you've posted.
    Reimplement QWebPage::javaScriptConsoleMessage() and output it to to qDebug. There you will see potential javascript errors.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.