title: QWebView / Qt WebKit won't open some SSL pages; redirects not allowed?
body: <p>Clean install of Qt SDK 1.1.4 on Windows 7 with Visual C++ 2008 SP1; I'm using Qt Creator.  Why does this code not load some web pages?</p>
  
  <pre><code>#include &lt;QtGui/QApplication&gt;
  #include &lt;QtWebKit/QWebView&gt;
  
  int main(int argc, char *argv[])
  {
      QApplication a(argc, argv);
      QWebView b;
      b.load(QUrl("https://gmail.com")); // doesn't work
      //b.load(QUrl("https://accounts.google.com")); // works
      //b.load(QUrl("https://google.com")); // doesn't work
      //b.load(QUrl("https://www.google.com")); // works
      b.show();
  
      return a.exec();
  }
  </code></pre>
  
  <p>Why do some of the URLs not work, and others do?</p>
  
  <p>I think the google.com / www.google.com is especially telling; google.com normally redirects to www.google.com.  And gmail.com is redirecting to accounts.google.com.  Is WebKit not allowing secure pages to redirect?  If so, how to fix that?</p>
  
  <p>By the way, Qt SDK 1.1.4 seems to include OpenSSL; I noticed its presence at C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\bin\ssleay32.dll.  Also notice that <em>some</em> pages seem to work, just not others.</p>
  
  <p><strong>EDIT:</strong>  Two more URLs:</p>
  
  <pre><code>b.load(QUrl("https://support.motionview3d.com/help/_media/images/directory.png")); // doesn't work
  b.load(QUrl("https://mail.google.com")); // works
  </code></pre>
  
  <p>Again, both of these work fine in other web browsers.</p>