Important: Please read the Qt Code of Conduct -

WebKit issue whatsapp

  • hello friends, when i use QWebView to load
    i have this problem, thanks

    my code

        QWebView *chromeView = new QWebView(this);

    i have try this code to change user agent but nothing :/

    QString QWebPageChrome::userAgentForUrl ( const QUrl & url ) const
    return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko)";

    my config , qt 5.9.8 mingw 32bits

    Sans titre.png

Log in to reply