[Qt-interest] concatenate some files
Nechypurenko, Andrey (GE Healthcare)
Andrey.Nechypurenko at ge.com
Tue Jul 21 16:45:48 CEST 2009
Hi,
> I would like to concatenate all files of a directory with
> extension TS and I would like to show a progress bar while
> the files are joining.
> Could you say me how could I do this with qt?
Forget about Qt for the beginning and try to write down steps required
to solve your task using whatever language you like (not a programming
language). For example something along this line:
1. Create empty destination file
2. For each file with extension "TS" do:
3. Until end of file reached
4. read N bytes from file
5. write these bytes to the destination file
.... And so on.
As soon as you are ready with this task, browse Qt documentation to find
out how to implement each particular step. Oliver already gave you some
hints.
HTH,
Andrey.
More information about the Qt-interest-old
mailing list