[Qtwebengine] How to change user agent?

Fabian Bernhard fbernhard at gmail.com
Tue Jan 21 08:06:15 CET 2014

Dear list,

Thank you for this project!

I need to create a small fallback application for a WebRTC web application
for those Windows users who, for whatever reason, can't install Google
Chrome on their machines.

I have not advanced much with testing because I first need to change the
user agent to the standard Google Chrome user agent. Otherwise Javascript
frameworks won't recognise the browser and throw an error. Check for


How can I change the complete user agent string, preferably in the example
project "widgetsnanobrowser"?

Thank you!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20140121/ba9890f6/attachment.html>

More information about the QtWebEngine mailing list