Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    QWebView only work inside Qt Creator on google Map

    Qt WebKit
    2
    5
    1643
    Loading More Posts
    • 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.
    • A
      admg01 last edited by

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

      1 Reply Last reply Reply Quote 0
      • P
        Peppy last edited by

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

        1 Reply Last reply Reply Quote 0
        • A
          admg01 last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • P
            Peppy last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • A
              admg01 last edited by

              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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post