Greetings,

How would one go about writing a binary file that has been declared as a resource to the filesystem. I have tried declairing a QFile with the resource in it


Qt Code:
  1. QFile file(":/exe/example.exe");
To copy to clipboard, switch view to plain text mode 

but when i write that to file, it is currupted and won't execute correctly. Would some one be kind enought as to show me the correct way of doing this?