QQuickWidget move problem on Android



  • Hi, I'm trying to create a cross-platform web browser solution on C++. I'm calling QtWebView 1.0 QML type from C++ with QQuickWidget, I'm using QML types because I didn't see a cross-platform web view library for C++ (for example QWebView C++ library don't work on mobile because it was written with WebKit). Therefore I created a project and it' worked good cross-platform but it's not working on Android exactly. My problem is moving that widget. It's working good on Desktop platforms but not on mobiles. I'm calling QtWebView 1.0 QML type from QQuickWidget but when I move that widget (for example with move(x,y) or with setGeometry(x,y,w,h)) widget moving good but 'browser' window not moving. I can resize it but I can't move it. You can see the picture below.

    Screen Picture
    And also my simple code in here
    Source codes

    What should I do?
    Thanks in Advance



  • @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.



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.