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::setUpdatesEnabled(true) problem - doesn't re-enable updates!
QtWS25 Last Chance

QWebView::setUpdatesEnabled(true) problem - doesn't re-enable updates!

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 3.0k Views
  • 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.
  • W Offline
    W Offline
    willc
    wrote on last edited by
    #1

    Hi,

    I am trying to disable screen updates during a page load to increase performance on an embedded linux platform running QT4.7.2, ie.

    I call setUpdatesEnabled(false) for the top level QWebView in QWebFrame->loadStarted() signal.
    then call setUpdatesEnabled(true) for the top level QWebView in QWebFrame->loadFinished(ok==true) signal.

    Screen updates are disabled by setUpdatesEnabled(false) but not re-enabled by setUpdatesEnabled(true).

    setUpdatesEnabled() is inherited from QWidget - adding debug in here indicates that updates have been re-enabled ok and QWidget::update() is called but there is no further rendering to the screen.

    Any ideas?
    Is this a valid approach?

    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