You can do it with a QFile and a QDataStream:
return;
char *s = new char[(int)f.size()];
stream.readRawData(s, (int)f.size());
QFile f("c:\file.bin");
if(!f.open(QIODevice::ReadOnly))
return;
QDataStream stream(&f);
char *s = new char[(int)f.size()];
stream.readRawData(s, (int)f.size());
To copy to clipboard, switch view to plain text mode
Now all the data is in s. Keep in mind that for big files you may get out of memory errors(new might fail) so the solution is to read the file in smaller buffers and process them sequentially.
QVector<uchar> is not really optimal in this case so you should use a plain char array.
Bookmarks