PDA

View Full Version : QFileInfo and lastModified for directory on Mac OS X



kghose
15th October 2008, 05:01
Hi everyone,

I have an issue. I'm trying to get the last modified time of a directory. Using lastModified on the QFileInfo of the relevant QDir does not return the same date/time as the system file manager does (which returns the correct date/time). QFileInfo seems to be returning date created instead. This is on Darwin (Mac OS X)

Does any one have some hints about this?

Thanks
-Kaushik

jacek
22nd October 2008, 20:45
Which Qt version do you use?