You can check if the file exists using QFile::exists(filename) and if yes, you can add to the new file a new name.
And then create the fileQt Code:
new_file = “Qtfile.txt1.txt); }To copy to clipboard, switch view to plain text mode
You can check if the file exists using QFile::exists(filename) and if yes, you can add to the new file a new name.
And then create the fileQt Code:
new_file = “Qtfile.txt1.txt); }To copy to clipboard, switch view to plain text mode
Last edited by d_stranz; 26th March 2021 at 15:32. Reason: missing [code] tags
Bookmarks