View Full Version : Copying a file
Nefastious
26th October 2009, 16:08
Hi there folks,
Just wondering how can copy a file from a given location (a given path), to another using Qt?
Sample code would be highly appreciated.
Thanks in advance,
Nefastious :confused:
jano_alex_es
26th October 2009, 16:19
Check QFile
kavinsiva
27th October 2009, 13:37
QFile file(put your file name which one want to copy);
file.copy(put your file name with directory where u want to place else it will save in current directory);
spirit
27th October 2009, 14:15
QFile file(put your file name which one want to copy);
file.copy(put your file name with directory where u want to place else it will save in current directory);
actually, there is static function QFile::copy. ;)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.