I need to sort the contents of a QDir using the exif date (The time the picture was taken).
Now since most cameras name the photos sequentially I can achieve the sorting I want with myQDir.setSorting(QDir::Name)
, but if the camera resets it's count or I have images from two or more cameras in the same folder, I can't.
QDir::Time
does not work either, because it's the time the picture was copied from the camera to the PC.
My program will run on windows and linux so I need a cross platform solution.
I've found easyexif from here but I don't know how to achieve what I want with it.
Any suggestions?