Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8018539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:09:05+00:00 2026-06-04T21:09:05+00:00

I am trying to create a download manager for a QGraphicsWebView and so far

  • 0

I am trying to create a download manager for a QGraphicsWebView and so far it works good except one thing: I cannot send the download request from the QWebPage to the download manager.

QObject::connect(webPage, SIGNAL(downloadRequested(const QNetworkRequest&)),
                 this, SLOT(downloadRequested(const QNetworkRequest&)));

This is my code for connecting the download request signal to the slot that sends the request forward, to the download manager. I put a qDebug() message in the slot before the other actions and the message isn’t displayed. This means the signal isn’t sent when I click a link to a file.

Is there a way I could send a signal when the user clicks a link to a file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T21:09:07+00:00Added an answer on June 4, 2026 at 9:09 pm

    The downloadRequested(QNetworkRequest) signal is only emitted when you right click on the link, and then click on the “Save link…” item of the context menu.

    When the user clicks on a link to something that is supposed to be downloaded (with the HTTP field Content-Disposition: attachment; filename=...), QWebPage emits the unsupportedContent(QNetworkReply*) signal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a force-download page to prevent browsers from opening files
What I currently have I'm currently trying to create a little download manager in
I'm trying to create a custom download app. Its all working except for the
I'm trying to create a functional page for parents who refuse to download anything
trying to create simple package with one procedure: CREATE OR REPLACE PACKAGE PACKAGE1 AS
I am trying to create a Eclipse project from Hibernate tutorials under path \hibernate-distribution-3.5.3-Final\project\tutorials\eg
I am trying to create a download progress bar in python using the urllib2
I'm trying to create a Makefile that will download and process file a file
I'm trying to create a custom DataGridViewButtonCell to download a file once clicked. That
I'm trying to create an internal corporate mirror of the Helios Milestone repository http://download.eclipse.org/releases/helios

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.