Thanks for your reply.
How do I change encryption mode in qt crypto?