Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Load HTML content while receive it
Forum Updated to NodeBB v4.3 + New Features

Load HTML content while receive it

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 542 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.
  • freddy311082F Offline
    freddy311082F Offline
    freddy311082
    wrote on last edited by
    #1

    Hi guys...

    I'm making a desktop application where I need to show some reports. To do that, I'm using a QWebEngine to load the HTML which I generate with my report content. The problem is that sometimes the html is to long and I want to render the html while I'm generating the html code... Until I know, web browsers render the page while they are loading the content, they don't wait until download the entire content to render it... so, that's what I need to do... Now we wait to build the entire html content, and after that, we pass it to the QWebEngine component to render it, and that process is to slow when we have a huge page...

    how can I do that ?? any advice or example pls

    regards

    1 Reply Last reply
    0
    • E Offline
      E Offline
      eureka
      wrote on last edited by
      #2

      I'm not too deep yet into Qt .. I'm still in the very early learning stages .. but if faced with that problem I would search for "render streaming html" .. to get this treatise ..

      http://www.ebaytechblog.com/2014/12/08/async-fragments-rediscovering-progressive-html-rendering-with-marko/

      Perhaps embedded in QWebView?

      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