<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Some Websites not load in QWebViewEngine QT 5.12.0]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Iam using QT 5.12.0 with Visual Studio 2017 32 bit, I want to view the WhatsApp website which is <a href="https://web.whatsapp.com/" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>, inside the QT webview engine, but I got this message,</p>
<pre><code>WhatsApp works with Google Chrome 36+
To use WhatsApp, update Chrome or use Mozilla Firefox, Safari, Microsoft Edge orOpera.
UPDATE GOOGLE CHROME
</code></pre>
<p dir="auto">so is there any solution to make this work? such as updating the current chromium or any other solution?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.qt.io/topic/100025/some-websites-not-load-in-qwebviewengine-qt-5-12-0</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 17:13:37 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/100025.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Feb 2019 14:26:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Some Websites not load in QWebViewEngine QT 5.12.0 on Fri, 22 Feb 2019 15:59:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a> Thank you it worked :D i tried the above code and it worked already with me, with the current User Agent I added, I have a small problem it worked with me once and now it not work anymore when I run it again!, strange problem? please, any help with this?, i did not change anything the same code, but not working on the second run</p>
]]></description><link>https://forum.qt.io/post/513408</link><guid isPermaLink="true">https://forum.qt.io/post/513408</guid><dc:creator><![CDATA[AmrCoder]]></dc:creator><pubDate>Fri, 22 Feb 2019 15:59:25 GMT</pubDate></item><item><title><![CDATA[Reply to Some Websites not load in QWebViewEngine QT 5.12.0 on Fri, 22 Feb 2019 14:55:09 GMT]]></title><description><![CDATA[<p dir="auto">can you give me an example of how to use it? I already checked my current User Agent and it's</p>
<pre><code>"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.0 Chrome/69.0.3497.128 Safari/537.36"
</code></pre>
<p dir="auto">what should i set it to? I found a website <a href="https://developers.whatismybrowser.com/useragents/explore/software_name/chrome/" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> have some user Agent which one should I use to work?<br />
also I tried to use it in this way i don't no if it's correct and will active user agent on all the pages or not</p>
<p dir="auto">in the constructor of the main window i do this</p>
<pre><code>MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui-&gt;setupUi(this);
    QWebEnginePage *page = ui-&gt;widget-&gt;page();
    qDebug() &lt;&lt; page-&gt;profile()-&gt;httpUserAgent();
page-&gt;profile()-&gt;sethttpuserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36");
    connect(ui-&gt;widget, SIGNAL(loadProgress(int)), this, SLOT(LoadProgress(int)));
}
</code></pre>
]]></description><link>https://forum.qt.io/post/513406</link><guid isPermaLink="true">https://forum.qt.io/post/513406</guid><dc:creator><![CDATA[AmrCoder]]></dc:creator><pubDate>Fri, 22 Feb 2019 14:55:09 GMT</pubDate></item><item><title><![CDATA[Reply to Some Websites not load in QWebViewEngine QT 5.12.0 on Fri, 22 Feb 2019 14:36:09 GMT]]></title><description><![CDATA[<p dir="auto">Looks like you're looking for <a href="https://doc.qt.io/qt-5/qwebengineprofile.html#setHttpUserAgent" target="_blank" rel="noopener noreferrer nofollow ugc">QWebEngineProfile::setHttpUserAgent</a></p>
]]></description><link>https://forum.qt.io/post/513399</link><guid isPermaLink="true">https://forum.qt.io/post/513399</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Fri, 22 Feb 2019 14:36:09 GMT</pubDate></item></channel></rss>