Zhang Liang David wrote:
> I am trying to learn Webview.  Platform is PC.
> 
> However, it seems that webview can only show contents on my local machine
> and can’t display any contents on the web.
> 
> The following sample code does not work and the page will never be shown.
> 
>     import QtWebKit 1.0
> 
>     WebView {
>          url: “http://www.nokia.com”
>      //if I change this to “http://127.0.0.1” then it works (I set up a
>      //personal web server on my machine.)
>          preferredWidth: 490
>          preferredHeight: 400
>          scale: 0.5
>          smooth: false
>     }
> 
> So, what is the possible cause?   By the way, I can browse any websites
> correctly using browsers on my PC.

Given that you can access web server hosted on your local machine I would say
you're hitting proxy issues: you need a proxy to access www.nokia.com and Qt
is not picking up that configuration.


João
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to