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)
    {
    Q_UNUSED(type);

    QWebView *webView = new QWebView;
    QWebPage *newWeb = new QWebPage(webView);
    webView->setAttribute(Qt::WA_DeleteOnClose, true);
    webView->setPage(newWeb);
    webView->show();
    
    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...........:-)

    Yugan.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.