Important: Please read the Qt Code of Conduct -

QWebView - createWindow - additional Parameters

  • Hi All,

    I have an issue with QWebView (still using Qt5.5, but at a first glance the API doesn't differ from Qt5.8), where in a web-app in a script is used with additional parameters.
    Requested is a WebModalDialog.
    From w3schools:, name, specs, replace)
    The virtual protected counterpart in QWebView is:
    virtual QWebView * createWindow(QWebPage::WebWindowType type)
    Unfortunately this does not take the additional parameters specs and replace.
    We need this, as dependent of what is opened in the dialog, the size may vary, which is passed in the specs parameter.

    Any clue how to access those parameters.
    Thanks in Advance,

Log in to reply