trying to direct the current page for a download error console returns the following message:

Frame load interrupted by policy change
Source (javascript+html):

Qt Code:
  1. function Download(){
  2. window.location = "app.exe";
  3. }
  4. <a href="javascript:void(Download())">Start Download</a>
To copy to clipboard, switch view to plain text mode 

Console Preview:

dwaSI.png

Should I configure something in the Compiler or QWebSettings?