Results 1 to 2 of 2

Thread: QWebView page loading fails after file downloading

  1. #1
    Join Date
    Feb 2011
    Posts
    354
    Thanks
    17
    Thanked 27 Times in 24 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default QWebView page loading fails after file downloading

    Hi there! When I download something with QWebView I receive loadingFinished signal with ok = false. I suppose, QWebView treats unsupported content as a page and it causes an error. How can I get rid of that signal?

    I start downloading when unsupportedContent(QNetworkReply*) signal is emitted and read the data when QNetworkReply::finished is emitted.

  2. #2
    Join Date
    Feb 2011
    Posts
    354
    Thanks
    17
    Thanked 27 Times in 24 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: QWebView page loading fails after file downloading

    Strange, is that an uncommon task to download files from QWebView? I only need to download something and don't tell a user that browser failed to load a web page.

Similar Threads

  1. QWebview fails to load page css on windows xp
    By marwyn in forum Qt Programming
    Replies: 16
    Last Post: 26th August 2011, 15:24
  2. File size of a remote file without downloading it
    By dirkdepauw in forum Qt Programming
    Replies: 5
    Last Post: 4th November 2010, 10:48
  3. QWebView problem to display the web page
    By ansar in forum Qt Programming
    Replies: 4
    Last Post: 2nd March 2010, 13:36
  4. Problem in building outside source directory(loading qrc files fails)
    By Jayakrishnan in forum Installation and Deployment
    Replies: 3
    Last Post: 17th October 2009, 17:00
  5. Need your help... loading image on my widgetstack page..
    By megabeat in forum Qt Programming
    Replies: 4
    Last Post: 30th January 2007, 15:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.