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
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
Check QFile
Nefastious (26th October 2009)
Qt Code:
file.copy(put your file name with directory where u want to place else it will save in current directory);To copy to clipboard, switch view to plain text mode
Kavin
actually, there is static function QFile::copy.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks