summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMikhail Svetkin <mikhail.svetkin@gmail.com>2020-04-09 20:52:01 +0200
committerMikhail Svetkin <mikhail.svetkin@gmail.com>2020-04-19 00:01:36 +0200
commit9719bf64bb471b8da10e8a5aa419308e8d3b1238 (patch)
treeabbde7b8c4937d94cca647a4dbc76f74b0e135c7 /tests
parenta65cc1fa6e8b234ad57838a573ef17f29859bf6d (diff)
Add dependencies file for Coin
Coin by default uses dev branch of qtbase. Add 5.12 qtbase into the dependencies file Change-Id: I849ea65e36c74f153dbd5531c01e3a3b00ab4fef Reviewed-by: Mikhail Svetkin <mikhail.svetkin@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/auto.pro1
-rw-r--r--tests/auto/qhttpserverrouter/tst_qhttpserverrouter.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index af38d7a..47686ef 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -3,7 +3,6 @@ TEMPLATE = subdirs
QT = network
SUBDIRS = \
- cmake \
qabstracthttpserver \
qhttpserver \
qhttpserverresponder \
diff --git a/tests/auto/qhttpserverrouter/tst_qhttpserverrouter.cpp b/tests/auto/qhttpserverrouter/tst_qhttpserverrouter.cpp
index 5536408..fb0c409 100644
--- a/tests/auto/qhttpserverrouter/tst_qhttpserverrouter.cpp
+++ b/tests/auto/qhttpserverrouter/tst_qhttpserverrouter.cpp
@@ -57,7 +57,7 @@ struct HttpServer : QAbstractHttpServer {
void route(const char *path, const QHttpServerRequest::Methods methods, ViewHandler &&viewHandler)
{
auto rule = new QHttpServerRouterRule(
- path, methods, [this, &viewHandler] (QRegularExpressionMatch &match,
+ path, methods, [this, &viewHandler] (const QRegularExpressionMatch &match,
const QHttpServerRequest &request,
QTcpSocket *socket) {
auto boundViewHandler = router.bindCaptured<ViewHandler>(