--- a/lib/http/src/localcache.cpp
+++ b/lib/http/src/localcache.cpp
@@ -42,7 +42,7 @@
 
 bool LocalCache::isCached(const QString &path) {
     bool cached = QFile::exists(path) &&
-                  (maxSeconds == 0 || QFileInfo(path).birthTime().secsTo(
+                  (maxSeconds == 0 || QFileInfo(path).created().secsTo(
                                               QDateTime::currentDateTimeUtc()) < maxSeconds);
 #ifndef QT_NO_DEBUG_OUTPUT
     if (!cached) misses++;
@@ -117,7 +117,7 @@
     while (it.hasNext()) {
         QString path = it.next();
         QFileInfo info = it.fileInfo();
-        cacheItems.insert(info.birthTime(), path);
+        cacheItems.insert(info.created(), path);
         totalSize += info.size();
         qApp->processEvents();
     }
