Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML WebView - Checkered Backgroud

QML WebView - Checkered Backgroud

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 2.4k 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.
  • S Offline
    S Offline
    shullw
    wrote on last edited by
    #1

    I have a webview item in my qml file. It loads a picture like it should, but until it loads the picture it displays a checkered background. Very annoying. Is there anything I need to put in my .cpp file that I am forgetting that would cause this. I am unsure. Here is my code.

    @
    WebView {
    id: imageArtwork
    preferredHeight: 60
    preferredWidth: 60
    html: "<body bgcolor='white'><img src=" + ImageURL + "alt='Badge' height='60' width='60' /></body>"
    }
    @

    Any help here would be great. I would use the Image item in qml but there is a bug with the multi-threading of images on the n900 that I am trying to sidestep. Seems like I am side stepping one bug and running into another one. Arg.

    A QML Purest Point of View!

    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