summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-05-30 17:08:47 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-05-31 13:47:15 +0200
commite4c4f23512c7bbb0f6791295554da548ed5a2e89 (patch)
treef46c2109ccbe4adbf786758697a2f5b1bd202ec1 /tests
parent038b361c452feb41106867f20b2484c1f384b0d1 (diff)
Include moc files
Faster to build and gives smaller binaries Fixes: QTBUG-103291 Change-Id: Iab52995e03c13a4c5b185750028c449a19d98d93 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/httpserver/httpreqrep.cpp2
-rw-r--r--tests/auto/httpserver/httpserver.cpp2
-rw-r--r--tests/auto/httpserver/proxy_server.cpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/httpserver/httpreqrep.cpp b/tests/auto/httpserver/httpreqrep.cpp
index ee9dbbaa9..79f1d7a6f 100644
--- a/tests/auto/httpserver/httpreqrep.cpp
+++ b/tests/auto/httpserver/httpreqrep.cpp
@@ -141,3 +141,5 @@ void HttpReqRep::handleDisconnected()
m_state = State::DISCONNECTED;
Q_EMIT closed();
}
+
+#include "moc_httpreqrep.cpp"
diff --git a/tests/auto/httpserver/httpserver.cpp b/tests/auto/httpserver/httpserver.cpp
index ce35ae1f0..39666c222 100644
--- a/tests/auto/httpserver/httpserver.cpp
+++ b/tests/auto/httpserver/httpserver.cpp
@@ -147,3 +147,5 @@ QString HttpServer::sharedDataDir() const
{
return SERVER_SOURCE_DIR + QLatin1String("/data");
}
+
+#include "moc_httpserver.cpp"
diff --git a/tests/auto/httpserver/proxy_server.cpp b/tests/auto/httpserver/proxy_server.cpp
index 3c5588603..a321716e3 100644
--- a/tests/auto/httpserver/proxy_server.cpp
+++ b/tests/auto/httpserver/proxy_server.cpp
@@ -106,3 +106,5 @@ void ProxyServer::handleReadReady()
m_data.clear();
emit requestReceived();
}
+
+#include "moc_proxy_server.cpp"