summaryrefslogtreecommitdiff
path: root/src/tools/testrunner
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2020-08-06 15:51:21 +0200
committerRobert Griebl <robert.griebl@qt.io>2020-08-11 00:19:06 +0200
commitc74ca43fa25801bf063755fa27a8fc53c23ac1a5 (patch)
treeb824475897d6ce0cd8ea1690618487a1804edf11 /src/tools/testrunner
parent53063d7053113b4eb9a7afe6d967dedab09ce71b (diff)
downloadqtapplicationmanager-c74ca43fa25801bf063755fa27a8fc53c23ac1a5.tar.gz
Build optimization: include all moc cpps directly in the main cpp file
This is a Qt module policy and helps a lot with build times -- especially on CI setups. Change-Id: I90574deb7e7b215054a5037b99ee4e7c7a040568 Reviewed-by: Thomas Senyk <thomas.senyk@qt.io>
Diffstat (limited to 'src/tools/testrunner')
-rw-r--r--src/tools/testrunner/amtest.cpp2
-rw-r--r--src/tools/testrunner/testrunner.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/testrunner/amtest.cpp b/src/tools/testrunner/amtest.cpp
index 3bbb0538..dfcafd58 100644
--- a/src/tools/testrunner/amtest.cpp
+++ b/src/tools/testrunner/amtest.cpp
@@ -157,3 +157,5 @@ int AmTest::findChildProcess(int ppid, const QString &substr)
#endif // Q_OS_LINIX
QT_END_NAMESPACE_AM
+
+#include "moc_amtest.cpp"
diff --git a/src/tools/testrunner/testrunner.cpp b/src/tools/testrunner/testrunner.cpp
index b4b8f030..4f9d91d1 100644
--- a/src/tools/testrunner/testrunner.cpp
+++ b/src/tools/testrunner/testrunner.cpp
@@ -153,3 +153,5 @@ int TestRunner::exec()
}
QT_END_NAMESPACE_AM
+
+#include "moc_testrunner_p.cpp"