Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QWebView and Jquery Print Area
Forum Updated to NodeBB v4.3 + New Features

QWebView and Jquery Print Area

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Qatto
    wrote on last edited by
    #1

    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

    Web/Desktop Developer

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      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.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved