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 <timur.pocheptsov@theqtcompany.com>
This commit is contained in:
parent
8c86d57e32
commit
b09ce612fc
@ -41,6 +41,7 @@
|
||||
|
||||
#include <QtCore/QDebug>
|
||||
#include <QNetworkReply>
|
||||
#include <QtCore/QDateTime>
|
||||
#include <QtCore/QFileInfo>
|
||||
#include <QtCore/QMetaObject>
|
||||
#include <QtCore/QCoreApplication>
|
||||
|
Loading…
Reference in New Issue
Block a user