Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. qwebview qquick
    Log in to post

    • UNSOLVED set Qwebview url via js function
      QML and Qt Quick • webview qml + js qwebview qquick • • Qjay  

      4
      0
      Votes
      4
      Posts
      1074
      Views

      Use 'Component.onCompleted' handler to assign directly your url, or to call a function which will do that. function setUrl(idOfWebView){ idOfWebView.url = "https://forum.qt.io" } WebView { id: myWebView anchors.fill: parent // url: "set url here " Component.onCompleted : { /* any JavaScript function or expressions */ // myWebView.url = "https://forum.qt.io" ( DIRECT ) //or u can call a function like this : // setUrl(myWebView) // pass id of your webView to the function. ( FUNCTION ) } } LA
    • QQuickWidget move problem on Android
      Mobile and Embedded • qml error qwebview problem qquickwidget move move problem drag problem setgeometry qwebview qquick android qquickw • • MrKozmon  

      2
      0
      Votes
      2
      Posts
      1286
      Views

      @MrKozmon I'm having the exact same problem on Android. When I drag a QQuickWidget that is hosting a QML-based WebView on Android, the widget moves but the WebView is left in the original position. Wondering if there has been any progress or a workaround for this issue. I am using Qt 5.10.0, developing for an x86 Android platform.