Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT creator: Fancy browser example application doesn't work
QtWS25 Last Chance

QT creator: Fancy browser example application doesn't work

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 1 Posters 5.5k 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.
  • G Offline
    G Offline
    GoGetIt
    wrote on last edited by
    #1

    Hi,

    I am new to QT. I have few issues and would be grateful if any of you could guide me and let me know what am I doing wrong. Following is what I have done.

    I have installed qt-sdk-win-opensource-2010.04.exe from http://qt.nokia.com/downloads/downloads#lgpl (QT SDK for Widnows)

    After installation, I opened QCreator and trying various examples given in that. I clicked on the Run button (on the left panel) after opening selecting the example.

    I was able to successfully run the HTML previewer application. However, I am not able to run the fancy browser application. I am not getting anything in the window though I have entered a valid URL (www.google.com) in the address field.

    I would like to know if I have to do any setting on Windows to run this example successfully? Am I missing anything here?

    Please do the needful.

    Thanks in advance.

    Regards,

    GoGetIt

    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

      I had faced this problem when there was a proxy in the network; adding this line solved the problem ...

      @
      QNetworkProxyFactory::setUseSystemConfiguration(true);
      @

      I'm using 4.7beta2 and this line is already included in the source, the example ran just fine ..

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GoGetIt
        wrote on last edited by
        #3

        Thanks for the reply Chetan.

        I checked the source code of the demo and saw that the mentioned line of code is already there in mainwindow.cpp, under MainWindow::MainWindow().

        How did you check the version of QT? I checked in QT Creator under Help->About QTCreator. It shows QT4.7.0(32 bit).

        Do I need to install anything else in addition to qt-sdk-win-opensource-2010.04.exe to get the browser related demos to work?

        I even tried running the Browser example under QTDemo->Demonstrations-Browser. Here also, I get the window but nothing after entering the URL and hitting enter.

        Please let me know how to get these demos working.

        Regards,
        GoGetIt

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

          only thing I can think of is that there might be a firewall blocking your internet access. were you in a network? if so, can you try from outside that network?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GoGetIt
            wrote on last edited by
            #5

            Yes, I am in a network.

            While googling I came across a utility which captures the snapshot of web page and is called CutyCapt. This also uses QTWebkit for achieving this. I tried running this app and saw that it gives a blank page as the out put instead of the webpage snapshot.

            Whereas if I run the IECapt utility which also gives snapshot of web page but implemented in C#, it gives proper output and I could see the snapshot of the specified URL.

            So I doub that I might be missing something in case of QT. But I am not getting it.

            Please do the needful.

            Regards,
            Madhu

            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