Results 1 to 2 of 2

Thread: QFileInfo and lastModified for directory on Mac OS X

  1. #1
    Join Date
    Jul 2008
    Location
    East Coast, USA
    Posts
    40
    Thanks
    6
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Unhappy QFileInfo and lastModified for directory on Mac OS X

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFileInfo and lastModified for directory on Mac OS X

    Which Qt version do you use?

Similar Threads

  1. QFileInfo and lastModified for directory
    By kghose in forum Qt Programming
    Replies: 4
    Last Post: 28th July 2008, 15:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.