digimonkey
19th February 2015, 08:52
Hi,
I'm trying to use QFile::copy to copy a video file to another folder (*.mp4 video). It copies but the file seems corrupted, it wont open.
I'm using
QFile::copy(videoPath,copyPath);
where the videoPath is the original video path (C:/rec/untitled 01.mp4) and the copyPath is the new folder that already exists (C:/rec/copy/newname.mp4)
Is there anything I should knew about copying Video Files with QFile?
Thank you in advance. :o
I'm trying to use QFile::copy to copy a video file to another folder (*.mp4 video). It copies but the file seems corrupted, it wont open.
I'm using
QFile::copy(videoPath,copyPath);
where the videoPath is the original video path (C:/rec/untitled 01.mp4) and the copyPath is the new folder that already exists (C:/rec/copy/newname.mp4)
Is there anything I should knew about copying Video Files with QFile?
Thank you in advance. :o