QWebView only work inside Qt Creator on google Map



  • Hello,
    first of all thanks to read me (i'm not english so i'll try my best).

    I am coding an application that use a QWebView to display maps on google maps, everything was fine until wednesday when the app stopped displaying google maps pages (everything else is still fine, and i can display other web pages).

    It stopped working on a local installation of my program which was running well since two month, and it still work if i start this former version from QtCreator, but not from the executable.

    If someone have any idea that can help me, it would be really great !

    Thanks for all,

    Adrien.

    PS : my code is really basic :
    @
    void Accueil::localisation(QString adresse){
    /Some non-related stuff/
    ui->webView->setUrl(QUrl(adresse));
    /Other stuff/
    }
    @

    edit : google maps neither work on "Fancy Web Browser" outside of Qt Creator, so i guess it may be the qWebKit dll's but i can't figure out why it would have worked for month if there was a problem of that kind...



  • What have you changed? No Network/SSL errors? No OpenGL messages (if your plugins are enabled)?



  • bq. What have you changed?

    the strange thing is that i haven't changed nothing, the app was installed on a different computer, since two month, and is used almost every day (and worked fine until wednesday) ...

    bq. No Network/SSL errors?

    I've no error while using Qt because the google map pages are working in that case, and outside of qt, the webview just doesn't displays the page...
    I don't think sll error can occur since i use http and not https.



  • Try to build your demo WebView app with JavaScript Console Logger (approx. 50 lines of code) and see why it is not working yet. I think Google may have impemented something, that you or Qt WebView does not include.



  • bq. Try to build your demo WebView app with JavaScript Console Logger

    I'll try this, thanks for your help !

    bq. I think Google may have impemented something, that you or Qt WebView does not include

    I was thinking it could be something like this, i'll try to get further information with your advice


Log in to reply
 

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