In QWebView, I load the website http://mytestcx.clan.su/ , press the social network authorization buttons and nothing happens.

    2 answers 2

    On this site, when you click on the icons of social networks with the help of javascript, a new window is created, which by default is blocked in QtWebKit. Set the JavascriptCanOpenWindows attribute for QWebSettings before loading the site pages:

     QWebSettings::globalSettings() ->setAttribute(QWebSettings::JavascriptCanOpenWindows, true); 

      And there are not pop-up windows should open accidentally? If yes, then perhaps they are disabled by default in QWebView, you need to enable it.