QT Failed to show WebView in QML under Android 6.0 When permission dialog pop over

  • I use GPS in my android app.
    In my first windows, I use qml and embedded a webview in qml.
    If the app have no position permission, the system will auto popup dialog to request the position right when use launch the app.
    Neigher choose grant the gps right nor choose no, the first webview UI is a white frame, no html shows. But the navbar at top of the window could work. If we let the app run in background and then frontend, then the webview could work the html page could show.

    If the app have gps right, everything is normal and weview show up.

    Could you please help us solve this problem?

    Thanks very much!

Log in to reply

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