Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    Qt WebKit
    1
    1
    1083
    Loading More Posts
    • 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
      Yugan last edited by

      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 Reply Quote 0
      • First post
        Last post