Hi

Are the filenames used by QTemporaryFile unique across platforms? E.g., two files created in the same directory in Linux on a USB stick must not be named FILE1.txt and file1.txt, as this would create problems when the USB stick is used on a Windows machine.

Al_


Background:
I have a database where files can be added: the file content is copied to a dedicated directory, the file name is stored in the database together with tags. As over time the same filename could be added (e.g., img00001.jpg is a common filename ...), I need to rename the files when copying to the dedicated directory. And I consider to use QTemporaryFile to create unique filenames.