summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMÃ¥rten Nordheim <marten.nordheim@qt.io>2024-03-12 09:36:27 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-03-13 20:29:31 +0000
commitdab953f3fc018fd33f1f1f157ccee9dba67c1d00 (patch)
tree96b9bba12ad695b3c4b4212a2950548f2ba270be /tests
parent2cfb0df6b934c99afbb73ba272cbb190780e2420 (diff)
tst_QFactoryLoader: includemocs
For some reason android in CI failed to include the moc file through the mocs_compilation file. It's an issue that needs some investigation, but in the interest of time just include the moc file directly. Pick-to: 6.5 Change-Id: I079588598a6f4137ef1fccc482795d703b59bc6e Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit c468dfedd6413994a72c41a53eadd1944eb52e6d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 1fd6f41eb26f31995412ac2ac1e95578b3b8147f)
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.cpp2
-rw-r--r--tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.cpp b/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.cpp
index 51825f0017..9e73e84364 100644
--- a/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.cpp
+++ b/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.cpp
@@ -7,3 +7,5 @@ QString Plugin1::pluginName() const
{
return QLatin1String("Plugin1 ok");
}
+
+#include "moc_plugin1.cpp"
diff --git a/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.cpp b/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.cpp
index 88a34ac73e..552b4dd810 100644
--- a/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.cpp
+++ b/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.cpp
@@ -7,3 +7,5 @@ QString Plugin2::pluginName() const
{
return QLatin1String("Plugin2 ok");
}
+
+#include "moc_plugin2.cpp"