From 3d59a0f7c7321b611fd08a9fed94819c43e5dd79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Fri, 10 May 2024 13:34:44 +0200 Subject: [PATCH] Fix moc include for tst_qcomparehelpers The Q_OBJECT is in the header so it should use the moc_*.cpp form. Change-Id: I1aa91d9fd0013d7270d551326334ed4ee35f3c64 Reviewed-by: Fabian Kosmale --- .../auto/corelib/global/qcomparehelpers/tst_qcomparehelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/global/qcomparehelpers/tst_qcomparehelpers.cpp b/tests/auto/corelib/global/qcomparehelpers/tst_qcomparehelpers.cpp index f140c23ed0f..cb114bc90b5 100644 --- a/tests/auto/corelib/global/qcomparehelpers/tst_qcomparehelpers.cpp +++ b/tests/auto/corelib/global/qcomparehelpers/tst_qcomparehelpers.cpp @@ -597,4 +597,4 @@ void tst_QCompareHelpers::builtinOrder() } QTEST_MAIN(tst_QCompareHelpers) -#include "tst_qcomparehelpers.moc" +#include "moc_tst_qcomparehelpers.cpp"