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. WebView (QtWebKit 3.0): unresponsive UI and weird button style
Forum Updated to NodeBB v4.3 + New Features

WebView (QtWebKit 3.0): unresponsive UI and weird button style

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 1.1k 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.
  • A Offline
    A Offline
    acepublic
    wrote on 18 Jun 2014, 06:42 last edited by
    #1

    Hello everybody,
    I tried integrating a HTML page into my Qt Quick/QML application (Qt 5.3.0) using a WebView (import QtWebKit 3.0). The HTML page is shown but with a weird button style (round buttons) and a very unresponsive UI (noticable delay when clicking button or input box in HTML page).
    The same page is shown perfectly normal in a QWebView or using the old WebView (Qt 4, import QtWebKit 1.0).
    I observed this behavior both on Windows 64-bit (ANGLE) and Linux 64-bit, both Qt 5.2 and 5.3.

    The page is included as

    @import QtQuick 2.0
    import QtQuick.Window 2.0
    import QtWebKit 3.0
    //import QtWebKit.experimental 1.0

    Window {
    WebView {
    id: webView
    anchors.fill: parent
    url: 'http://localhost/mypage.html'
    }
    }

    @

    The HTML page uses AngularJS. If necessary, I can make the source available.
    Any idea what I am doing wrong?

    Thanks,
    Andreas

    1 Reply Last reply
    0

    1/1

    18 Jun 2014, 06:42

    • Login

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