Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to change user agent in HTML Help ran in QT Assistant



  • Hi,

    we use a CMS to generate a QT HTML Help for a customer.
    Recently I've compiled a HTML Help with QT 5.4 but some css property seems not to be set because of a wrong user agent in the project.

    I found that QT doesn't work with some CSS properties, so I assume some of these CSS behaviors (like "display: block;") work thanks to a correct user agent.

    Is this correct?
    How can I change the default user/browser agent for a HTML file that I run on QT?

    Thanks in advance!


Log in to reply