Results 1 to 4 of 4

Thread: QWebView doesn't load a page on windows

  1. #1
    Join Date
    Dec 2010
    Location
    Tarnów, Poland/Polska
    Posts
    14
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question QWebView doesn't load a page on windows

    I have a problem with QWebView. It doesn't load http://mail.bigmir.net/signin/ this page on Windows. I tried load it on application written on Windows, on Linux, and Windows and Linux. But that same code load this page in Linux. Why? What I do it bad?

    I thought that is my QtCreator fault because on Linux I had 2.0.1 and on Windows I had 2.0.0 but after update it to 2.0.1 on Windows nothing changed ;[
    I add that I have version from September on Linux, and August on Windows, but i downloaded the newest package from qt.nokia.com for Windows.

    Please help me ;]

    EDIT: Upade to QtCreator 2.1 nothing changed too. This website can't load ;[ I ran example browser and it doesn't load it too ;[
    Last edited by RzuF; 7th April 2011 at 14:52.

  2. #2
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QWebView doesn't load a page on windows

    I'll note the following: The site is in Russian. Russian sites are notorious for spreading viruses and malware, and often use various forms of misdirection to steer traffic to themselves. Given that, my first thought is that one of the Windows protection routines is blocking access to the site. These are less common in the Linux world because there are fewer malicious sites targeting Linux.

    "It doesn't load" doesn't give much information. I'm not familiar with WebView, but checking return values for error conditions would seem like a good place to start in tracking down the problem.

  3. #3
    Join Date
    Dec 2010
    Location
    Tarnów, Poland/Polska
    Posts
    14
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWebView doesn't load a page on windows

    Quote Originally Posted by SixDegrees View Post
    I'll note the following: The site is in Russian. Russian sites are notorious for spreading viruses and malware, and often use various forms of misdirection to steer traffic to themselves. Given that, my first thought is that one of the Windows protection routines is blocking access to the site. These are less common in the Linux world because there are fewer malicious sites targeting Linux..
    This site has got mail powered by google, so I'm sure that hasn't got any malware or viruses. I checked it on many vairous computers and it was the same. But bigmir.net loads, doesn't load only this site http://mail.bigmir.net/signin which has google's site redirect.

    "It doesn't load" doesn't give much information.
    I got blank site. Only this. It show me html like that: "<html><head></head><body></body></html>"

    EDIT:

    I have alrealy tested application without any antywirus or windows self defence. Nothing changed ;[
    Last edited by RzuF; 7th April 2011 at 15:40.

  4. #4
    Join Date
    Dec 2010
    Location
    Tarnów, Poland/Polska
    Posts
    14
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWebView doesn't load a page on windows

    Qt Code:
    1. <HTML>
    2. <HEAD>
    3. <TITLE>Moved Temporarily</TITLE>
    4. </HEAD>
    5. <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
    6. <H1>Moved Temporarily</H1>
    7. The document has moved <A HREF="https://www.google.com/a/bigmir.net/ServiceLogin?service=mail&amp;passive=true&amp;rm=false&amp;continue=http%3A%2F%2Fmail.google.com%2Fa%2Fbigmir.net%2F&amp;bsv=llya694le36z&amp;ltmpl=default&amp;ltmplcache=2">here</A>.
    8. </BODY>
    9. </HTML>
    10. <html><head></head><body></body></html>
    11.  
    12. -----><-----
    13.  
    14. <HTML>
    15. <HEAD>
    16. <TITLE>Moved Temporarily</TITLE>
    17. </HEAD>
    18. <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
    19. <H1>Moved Temporarily</H1>
    20. The document has moved <A HREF="http://mail.bigmir.net/gsignin/?SAMLRequest=fVJdT8IwFH038T8sfd%2BXQaMNm0EIkQR1gemDb1132QpdO3s70H9vGRDxQV9PT8%2FHvXd4%2F9lIbwsGhVYJiYOIeKC4LoWqEvKaT%2F1bcp9eXgyRNbKlo87WagEfHaD13E%2BFtH9ISGcU1QwFUsUaQGo5XY6e5vQqiGhrtNVcS%2BLNJgmR1armm7ZqS1XXFZTOuGk104Vcr6UoqrqsWbFZl8R7O8W62seaIXYwU2iZsg6K4tiPBn50k8d3dBDT68E78bKj04NQhwb%2FxSoOJKSPeZ752csy7wW2ogTz7NgJqbSuJARcN3v7jCGKrYNXTCIQb4QIxrqAY62wa8AswWwFh9fFPCG1tS3SMNztdsGPTMjCQlSNMIECGzKOJO0nS%2Fty5myk%2F0dnJ2uS%2FogPwzOp9LixfZHZJNNS8C9vJKXejQ0w61pY07kSU20aZv92i4O4R0Tpr3oq7RS2wMVKgFtRmB5cf5%2BGO5hv&amp;RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fbigmir.net%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fbigmir.net%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2">here</A>.
    21. </BODY>
    22. </HTML>
    23. <html><head></head><body></body></html>
    24.  
    25. -----><-----
    26.  
    27. [website code]
    28.  
    29. -----><-----
    30.  
    31. <html><head><title>redirecting...</title>
    32. <meta http-equiv="refresh" content="1;url=https://www.google.com/a/bigmir.net/ServiceLogin?service=mail&amp;passive=true&amp;rm=false&amp;continue=http%3A%2F%2Fmail.google.com%2Fa%2Fbigmir.net%2F&amp;bsv=llya694le36z&amp;ltmpl=default&amp;ltmplcache=2"></head><body><script>var url = 'https://www.google.com/a/bigmir.net/ServiceLogin?service\75mail\46passive\75true\46rm\75false\46continue\75http%3A%2F%2Fmail.google.com%2Fa%2Fbigmir.net%2F\46bsv\75llya694le36z\46ltmpl\75default\46ltmplcache\0752';
    33. var parts = (window.location+'').split('#');
    34. if (parts.length == 2 && parts[1].length > 0) {
    35. url += '#' + parts[1];
    36. }
    37. window.setTimeout(function() {
    38. window.location = url;
    39. }, 0);
    40. </script>
    41. <noscript></noscript></body></html>
    42.  
    43. -----><-----
    44.  
    45. [website code]
    46.  
    47. -----><-----
    48.  
    49.  
    50.  
    51. -----><-----
    52.  
    53.  
    54.  
    55. -----><-----
    56.  
    57.  
    58.  
    59. -----><-----
    60.  
    61.  
    62.  
    63. -----><-----
    64.  
    65.  
    66.  
    67. -----><-----
    68.  
    69. <HTML>
    70. <HEAD>
    71. <TITLE>Moved Temporarily</TITLE>
    72. </HEAD>
    73. <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
    74. <H1>Moved Temporarily</H1>
    75. The document has moved <A HREF="http://mail.google.com/a/bigmir.net/?AuthEventSource=SSO&amp;auth=DQAAAKAAAACeZCHwJ93fQU3EJBbc284So48t2C1gtNRkfgM8L3_v-nFa-BSz59zIv-NSI8mvrQDjYqdhwyKKpx97hxznBl6ve1aUzJlt1632ep2h4vgpRT6Qm-8LHdIB5Wu8tm13ZNnPkIwYJiyR4qudVVkBQiXsrSl7hF86q6k-qgO-pPpGLZXHZzbrcwPsw_JaFokXO7TQC4VU40Ap2r3Cg6XAQZXa&amp;husr=dupaxdd%40bigmir.net">here</A>.
    76. </BODY>
    77. </HTML>
    78.  
    79.  
    80. -----><-----
    81.  
    82. <html><head><title>bigmir)net</title><noscript><meta http-equiv="refresh" content="1; url=http://mail.google.com/a/bigmir.net/?logout"/></noscript><script language="JavaScript" type="text/javascript">function doRedirect(){setTimeout("location.replace('http://mail.google.com/a/bigmir.net/?logout')", 1000);}</script></head><body onload="doRedirect()"><span><img width="1" src="http://global.bigmir.net/rlogin?i=&DEBUG_MODE=0&rnd=4.1542409472" /></span><br /></body></html>
    To copy to clipboard, switch view to plain text mode 

    This returns me my application on Linux.

    Qt Code:
    1. <HTML>
    2. <HEAD>
    3. <TITLE>Moved Temporarily</TITLE>
    4. </HEAD>
    5. <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
    6. <H1>Moved Temporarily</H1>
    7. The document has moved <A HREF="https://www.google.com/a/bigmir.net/ServiceLogin?service=mail&amp;passive=true&amp;rm=false&amp;continue=http%3A%2F%2Fmail.google.com%2Fa%2Fbigmir.net%2F&amp;bsv=llya694le36z&amp;ltmpl=default&amp;ltmplcache=2">here</A>.
    8. </BODY>
    9. </HTML>
    10. <html><head></head><body></body></html>
    11.  
    12. -----><-----
    13.  
    14. <html><head></head><body></body></html>
    To copy to clipboard, switch view to plain text mode 

    This is code which is returned by my application on Windows. That same code. My laptop (Linux) is 32-bit and my PC (Windows 7) is 64-bit, but both have QtCreator 32-bit. is it has any mean?

    PS:

    I cut some website code. It's not important, but very long.

    When I look at it I think my application can't redirect, but I don't know why ;[

Similar Threads

  1. Replies: 1
    Last Post: 24th March 2011, 16:40
  2. Replies: 4
    Last Post: 25th October 2010, 14:22
  3. Editing in text box of web page : QWebView
    By girishgowda in forum Qt Programming
    Replies: 0
    Last Post: 13th July 2010, 11:42
  4. Html page Display in QWebView
    By Tavit in forum Qt Programming
    Replies: 4
    Last Post: 10th July 2010, 15:39
  5. QWebView problem to display the web page
    By ansar in forum Qt Programming
    Replies: 4
    Last Post: 2nd March 2010, 12:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.