From 71567de75b7f9294e6063da3c67b0714acfb54fc Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Thu, 10 Jun 2021 12:51:42 +0200 Subject: [PATCH] Remove pure-virtual-signals.h include from tst_moc.cpp The relevant test is conducted by tst_Moc::warnOnVirtualSignal(), added in 2009, Fix Warning saying that signal cannot be made virtual The test for virtual signal did not work. But we cannot make an error right now or it might break existing code (exemple in task 210879) but without removing the #include, so we do still get a warning about that when building tst_moc. Change-Id: I5ea18058f22bbd483d1ff18b0ca7b360f6674ed9 Reviewed-by: Thiago Macieira (cherry picked from commit f6f6d06028a62fef3e0d8458903549499fced45a) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/tools/moc/tst_moc.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/auto/tools/moc/tst_moc.cpp b/tests/auto/tools/moc/tst_moc.cpp index 6136babc643..d0b84aa11cc 100644 --- a/tests/auto/tools/moc/tst_moc.cpp +++ b/tests/auto/tools/moc/tst_moc.cpp @@ -42,7 +42,6 @@ #include "single_function_keyword.h" #include "backslash-newlines.h" #include "slots-with-void-template.h" -#include "pure-virtual-signals.h" #include "qinvokable.h" // msvc and friends crap out on it #if !defined(Q_CC_GNU) || defined(Q_OS_WIN)