Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Problem in opening new window without bypassing credential prompt when every time javascript opens a new window in Webkit.
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yugan
    wrote on 22 Apr 2013, 11:14 last edited by
    #1

    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.

    1 Reply Last reply
    0

    1/1

    22 Apr 2013, 11:14

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved