From b09ce612fcb57e1ab6fbf904697ccd0bb3885332 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 8 Mar 2016 12:22:29 +0100 Subject: [PATCH] QNetworkFile: Fix compile error with MinGW/gcc 5.1. access\qnetworkfile.cpp: In member function 'void QNetworkFile::open()': access\qnetworkfile.cpp:69:93: error: invalid use of incomplete type 'class QDateTime' headerRead(QNetworkRequest::LastModifiedHeader, QVariant::fromValue(fi.lastModified())); Task-number: QTBUG-45925 Change-Id: I61ff67f9691fe7b6966353e29eeb03d37590d78d Reviewed-by: Timur Pocheptsov --- src/network/access/qnetworkfile.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/access/qnetworkfile.cpp b/src/network/access/qnetworkfile.cpp index 4704fc657f..374dd26e2e 100644 --- a/src/network/access/qnetworkfile.cpp +++ b/src/network/access/qnetworkfile.cpp @@ -41,6 +41,7 @@ #include #include +#include #include #include #include