On Wednesday, 10 November 2021 14:33:05 PST Scott Bloom wrote: > Is there anyway (besides fixing QFSFileEngine::setFileTime) to support > setting the time stamp on a directory?
That won't work either. Both QFSFileEngine and QFileSystemEngine operate on an open file handle. You may be able to trick Qt by opening the directory with _wopen and giving QFile that handle. You can't read or write but it might work. I'm assuming you only care about Windows. You can't set the file's birth time on Linux: the only way to do that is to delete the file and create another. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest