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. Can't route in bing maps with Qt WebView
Forum Updated to NodeBB v4.3 + New Features

Can't route in bing maps with Qt WebView

Scheduled Pinned Locked Moved Qt WebKit
8 Posts 2 Posters 5.7k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    HaykG
    wrote on last edited by
    #1

    I have a QWebView which displays the content of the page. When I go to http://www.bing.com/maps/ and want to give source/destination for routing and press the route button nothing is happened. The same thing I've tried with arora browser and got the same result. Is there somebody who knows what is the problem or it is a bug in Qt's webkit module.

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

      Which platform did you try this on? This worked quite well for me with Qt 4.7b2 and on win xp

      1 Reply Last reply
      0
      • ? This user is from outside of this forum
        ? This user is from outside of this forum
        Guest
        wrote on last edited by
        #3

        or probably post your code. did the webview work with other urls ?

        1 Reply Last reply
        0
        • H Offline
          H Offline
          HaykG
          wrote on last edited by
          #4

          It was really strange. I had tried yesterday evening and it was working but now it doesn't work anymore :(. I'm using Meego platform, the version of Qt is 4.6.2 (also can't determine the Webkit version QTWEBKIT_VERSION define is not present in this QT version as I can see). After having this issue I've created just a simple test to localize the issue. Here is the code:

          @

          #include <QApplication>
          #include <QtWebKit>

          int main(int argc, char** argv)
          {
          QApplication app(argc, argv);
          QWebView webview;
          webview.resize(900, 700);
          webview.load(QUrl("http://www.google.com"));
          webview.show();
          QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled, true);
          QWebSettings::globalSettings()->setAttribute(QWebSettings::JavaEnabled, true);
          return app.exec();
          }
          @

          1 Reply Last reply
          0
          • ? This user is from outside of this forum
            ? This user is from outside of this forum
            Guest
            wrote on last edited by
            #5

            I think you should log a bug against meego. This code works just fine in win32 platform

            1 Reply Last reply
            0
            • B Offline
              B Offline
              benjamin.poulain
              wrote on last edited by
              #6

              QTWEBKIT_VERSION is only defined for QtWebKit 2.0 and above. Qt 4.6 have a dedicated branch of QtWebKit of that version.

              I think you should log a bug against meego.

              Which MeeGo are you using? MeeGo Netbook or Meego Handset?

              I have tried on Meego Netbook 1.0 with a custom build of Qt 4.7 and I cannot reproduce the bug.

              1 Reply Last reply
              0
              • H Offline
                H Offline
                HaykG
                wrote on last edited by
                #7

                Actually I used the QtWebkit came with Qt 4.6.2 When I upgraded my QtWebKit module (freshest trunk) it started to work. I'll not open a bug as it is already fixed in new versions.. :)

                1 Reply Last reply
                0
                • ? This user is from outside of this forum
                  ? This user is from outside of this forum
                  Guest
                  wrote on last edited by
                  #8

                  ok good its solved now :)

                  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