Important: Please read the Qt Code of Conduct -

Problem in opening new window without bypassing credential prompt when every time javascript opens a new window in Webkit.

  • Guys,

    Am sub-classing QWebView class in following way.

    @QWebView *WebView::createWindow(QWebPage::WebWindowType type)

    QWebView *webView = new QWebView;
    QWebPage *newWeb = new QWebPage(webView);
    webView->setAttribute(Qt::WA_DeleteOnClose, true);
    return webView;


    From above am able to open a new window when every time javascript opens a new window. Problem is every time new window is prompting for credentials. How can we bypass credentials prompt.

    Not necessarily new window, Will be fine if new window loads within application without asking for credentials.

    Thanks in Advance...........:-)


Log in to reply