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. Qgraphicswebview problems in qml
Forum Updated to NodeBB v4.3 + New Features

Qgraphicswebview problems in qml

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

    Hello, I've created a custom element that does the same job of Qml WebView(subclassing qgraphicswebview). But it has 2 bugs: the performances are bad comparing to normal WebView and the webview has a black background. I've checked and rechecked the code but ther isn't any errors. I've the same the same code that nokia used to create Qml Webview and register the class with qmlregistertype() function. Can someone help?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Peppy
      wrote on last edited by
      #2

      WebView has a background? Show me a picture, of that. And the perfomance you can split into threads, can't you?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        daljit97
        wrote on last edited by
        #3

        "Photo link":http://postimage.org/image/n0evdkzqt/
        This is a wikipedia page,as you can see the background is black so the text in black isn't visible. The scrolling isn't good and tilestoring doesn't work well. I've made the same app with a qml webview and performances are good.
        EDIT: the problems exist only if there are others qml elements in the qml file. I mean if there is only the custom webview without other elements(like flickable, pincharea,text etc..) everything works great.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Peppy
          wrote on last edited by
          #4

          Do you resize somehow that webview?

          Because I have submitted similar bug long time ago.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            daljit97
            wrote on last edited by
            #5

            yes, on the simulator it works great the problem is on the device ( nokia c7 symbian belle)

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Peppy
              wrote on last edited by
              #6

              Please, see:
              "https://bugreports.qt-project.org/browse/QTBUG-26330":https://bugreports.qt-project.org/browse/QTBUG-26330
              and "https://bugs.webkit.org/show_bug.cgi?id=90421":https://bugs.webkit.org/show_bug.cgi?id=90421

              1 Reply Last reply
              0
              • D Offline
                D Offline
                daljit97
                wrote on last edited by
                #7

                I've seen them, but my problem is different, because my custom webview has also bad performances. But with normal qml webview everything works great.

                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