Hello,
what I want to do is quite simple,but i don't know how to do that in Qt.
1)So,I have a program(p1),
2)which takes as a resource another(PE),let's call it p2*.

3)The same app(p1),opens any .exe file(p3),
4)reads its(binary) and
5)encrypts the bytes.
6)Then,I create a new exe(p4),which has my p2.

7)Now what I want next,is to take that p3(the encrypted byteArray) and add it as a resource of p4.
Complexive? :/

*My p2 is an app,already compiled(by me).It will take that p3(which is a resource of it)and decrypt it.

My problem is,how to do step 7.
Thank you.