Hi.

I want to create a composite file containing, say, a soundfile and a picturefile, but the main idea is to pile several files of unknown content into one large file...

Quite a simple excersise, but I am not quite sure how to use QT (properly) to accomplish this task. QDataStream seems to be the right choice, maybe added with readBytes() / writeBytes().

Anyone care to show me a samle code of how this should be done most elegantly?

thanks!

Havard