make[3]: Entering directory '/media/papetaja/discovery//Qt5_build_issue/qtbase/src/network' In file included from /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:40:0: /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams_p.h:85:18: error: 'HttpMessagePair' does not name a type Stream(const HttpMessagePair &message, quint32 streamID, qint32 sendSize, ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams_p.h:90:5: error: 'QHttpNetworkReply' does not name a type QHttpNetworkReply *reply() const; ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams_p.h:91:11: error: 'QHttpNetworkRequest' does not name a type const QHttpNetworkRequest &request() const; ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams_p.h:92:5: error: 'QHttpNetworkRequest' does not name a type QHttpNetworkRequest &request(); ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams_p.h:93:5: error: 'QHttpNetworkRequest' does not name a type QHttpNetworkRequest::Priority priority() const; ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams_p.h:98:5: error: 'HttpMessagePair' does not name a type HttpMessagePair httpPair; ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:56:22: error: 'HttpMessagePair' does not name a type Stream::Stream(const HttpMessagePair &message, quint32 id, qint32 sendSize, qint32 recvSize) ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp: In constructor 'Http2::Stream::Stream(const int&, quint32, qint32, qint32)': /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:57:7: error: class 'Http2::Stream' does not have any field named 'httpPair' : httpPair(message), ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp: At global scope: /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:73:1: error: 'QHttpNetworkReply' does not name a type QHttpNetworkReply *Stream::reply() const ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:78:7: error: 'QHttpNetworkRequest' does not name a type const QHttpNetworkRequest &Stream::request() const ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:83:1: error: 'QHttpNetworkRequest' does not name a type QHttpNetworkRequest &Stream::request() ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:88:1: error: 'QHttpNetworkRequest' does not name a type QHttpNetworkRequest::Priority Stream::priority() const ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp: In member function 'uchar Http2::Stream::weight() const': /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:95:22: error: 'priority' was not declared in this scope switch (priority()) { ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:96:10: error: 'QHttpNetworkRequest' has not been declared case QHttpNetworkRequest::LowPriority: ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:98:10: error: 'QHttpNetworkRequest' has not been declared case QHttpNetworkRequest::NormalPriority: ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:100:10: error: 'QHttpNetworkRequest' has not been declared case QHttpNetworkRequest::HighPriority: ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp: In member function 'QNonContiguousByteDevice* Http2::Stream::data() const': /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:108:12: error: 'httpPair' was not declared in this scope return httpPair.first.uploadByteDevice(); ^ /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp: In member function 'uchar Http2::Stream::weight() const': /media/papetaja/discovery/sources/qt5/qtbase/src/network/access/http2/http2streams.cpp:104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^