Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. QWebView only work inside Qt Creator on google Map
QtWS25 Last Chance

QWebView only work inside Qt Creator on google Map

Scheduled Pinned Locked Moved Qt WebKit
5 Posts 2 Posters 1.9k Views
  • 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 Offline
    A Offline
    admg01
    wrote on last edited by
    #1

    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
    0
    • P Offline
      P Offline
      Peppy
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        admg01
        wrote on last edited by
        #3

        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
        0
        • P Offline
          P Offline
          Peppy
          wrote on last edited by
          #4

          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
          0
          • A Offline
            A Offline
            admg01
            wrote on last edited by
            #5

            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
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved