QWebView 无法在 Windows 上加载页面
我的 QWebView 有问题。它不会在 Windows 上加载 http://mail.bigmir.net/signin/ 此页面。我尝试将其加载到 Windows、Linux 以及 Windows 和 Linux 上编写的应用程序上。但同样的代码在 Linux 上加载此页面。为什么?我做什么不好?
我认为这是我的 QtCreator 错误,因为在 Linux 上我有 2.0.1,在 Windows 上我有 2.0.0,但在 Windows 上更新到 2.0.1 后没有任何变化;[ 我补充说,我在 Linux 上有 9 月份的版本,在 Windows 上有 8 月份的版本,但我从 qt.nokia.com 下载了适用于 Windows 的最新软件包。
更新到 QtCreator 2.1 也没有任何改变。该网站无法加载 ;[ 我运行了示例浏览器,但它也无法加载 ;[ 现在我在 Windows 上的版本比 Linux 上的版本更新,但它仍然无法工作。
我认为,在 Windows 上,我的 QWebView 无法重定向(这是谷歌的安全性,有数百个重定向......),所以我停留在一个地方,无法转到下一个(/前进)。
有人知道如何在 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 on Linux. Why? What I do badly?
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.
Update to QtCreator 2.1 nothing changed too. This website can't load ;[ I ran example browser and it doesn't load it too ;[ Now I have the newer version on Windows than on Linux, and it still doesn't work.
I think, on Windows my QWebView can't redirect (it's google's security with hundred redirects...) so i stay in one place and can't go next(/forward).
Anyone know how to unlock it on Windows or something like that? I need it to work!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我敢打赌它会重定向到
https://
URL,并且您没有在 Windows 中安装 OpenSSL,并且 QT 也不是为了使用它而构建的。您需要获取 OpenSSL 并配置 QT 才能使用它。这是谷歌的快速结果:
http://greensoftware.net/blog/2009/12/01/compiling-qt4-6-with-openssl-support-on-windows-with-mingw/
(谷歌
QT 与 openssl windows
你会发现很多信息)I'm going to wager that it redirects to a
https://
URL, and you don't have OpenSSL installed in windows and QT isn't built to use it. You need to get OpenSSL and configure QT to use it.Here's a quick result from google:
http://greensoftware.net/blog/2009/12/01/compiling-qt4-6-with-openssl-support-on-windows-with-mingw/
(Google
QT with openssl windows
and you'll find lots of info)