Completely reorganize the library, moving up to Qt 5.4, using C++11 where reasonably possible, and reorganizing the includes.
This commit is contained in:
@@ -136,7 +136,7 @@ void TestQObjectHandler::testRequests()
|
||||
QSimpleHttpClient client(pair.client());
|
||||
QHttpSocket socket(pair.server(), &pair);
|
||||
|
||||
QHttpHeaderMap headers;
|
||||
QHttpSocket::QHttpHeaderMap headers;
|
||||
headers.insert("Content-Length", QByteArray::number(data.length()));
|
||||
|
||||
client.sendHeaders(method, path, headers);
|
||||
|
||||
Reference in New Issue
Block a user