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. Page is not being loaded
QtWS25 Last Chance

Page is not being loaded

Scheduled Pinned Locked Moved Qt WebKit
11 Posts 2 Posters 4.2k 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #2

    Hi HayKG,

    just tried with Qt 4.7 RC on Win XP and some simple code using QWebView. Both the links worked fine. Can you post your code here, which platform are u on?

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

      Same here, no problem with Qt 4.7.x (on Linux x86_64).

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

        I've tried on following platforms:

        • Meego
        • Ubuntu 10.4

        The code is simple:

        @

        #include <QWebView>
        #include <QApplication>

        int main(int argc, char** argv)

        {
        QApplication app(argc, argv);
        QWebView w;
        w.load(QUrl("http://www.amazon.de/Apple-iPad-WiFi-UMTS-64GB/dp/B003G3UULC/ref=sr_1_5?ie=UTF8&s=computers&qid=1283782588&sr=8-5"));
        w.show();
        return app.exec();
        }

        @

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

          On Meego vs Qt 4.6.2

          On Ubuntu 10.4 vs Qt 4.7.0-beta2

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

            I tried your example and it fails randomly. It could be amazon disconnecting for some reason (it would be interesting to change the user agent and see if it can still be reproduced), or it could be a bug in QNetworkAccessManager.

            If you can reproduce it with another user agent, please open a bug on "http://bugreports.qt.nokia.com/":http://bugreports.qt.nokia.com/ for the "Network" component.

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

              I changed the user-agent of my browser. Returned the Google-Chrome's user-agent. It didn't work even in this way. But if I copy this link to chromium browser it works perfectly there.

              Also guys please try "www.linguatv.com":www.linguatv.com. This one actually is being loaded but nothing is being displayed. I tried with other browsers they work, only Qt-based browsers are not working.

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

                Yep, that looks like a but in the network stack of Qt. Again the resources is never loaded by QNetworkAccessManager. You should make a bug report with this information.

                That also explains why I had no problem with amazon. I am using Rekonq, which does not use QNetworkAccessManager but KIO.

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

                  I've opened an issue. And what about the second link ("www.linguatv.com":www.linguatv.com)?

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

                    It could be related, the same kind of URL is given in the iframe. You can add it in comment if you are confident it is the same issue, or create a second bug report.

                    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
                      #11

                      at least on winxp and qt 4.7, the amazon links mentioned here load just fine for me... no random issues there, tried multiple times.

                      But linguatv is quite slow (even in other browsers), and on webview only the background gradient was visible even after few minutes.. gave up

                      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