Qt 以某种方式破坏了 WebBrowser 控制(Ajax 不工作)

Qt breaks WebBrowser control somehow (Ajax is not working)

Windows 10.

我有 2 个应用程序使用相同的 C++ 库来创建 WebBrowser 控件(基于 Internet Explorer 的控件)。它不使用 Qt,仅使用 WinAPI.

第一个应用程序是原始的 WinAPI 基于 C++ 的应用程序, 使用 Qt

第二个是 Qt 5.9.2 基于小部件的 C++ 应用程序。

在这两个应用程序中,我尝试打开以下 URL:https://vi.infcdn.net/test.html

问题是在我的第一个应用程序中,该网页按预期工作。 但在我基于 Qt 的应用程序中,它 工作。 Ajax 没有处理它。

Addition #1. 我还尝试了 Active Qt 示例文件夹中的 webbrowser 示例。 (http://doc.qt.io/qt-5/activeqt-activeqt-webbrowser-example.html)。它在这里也不起作用。

这是 Internet Explorer 兼容模式。

禁用它的方法如下: Force IE compatibility mode off using tags