From 030901a743a57cb46602d4574d7741f540ab3232 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 20 Oct 2018 00:03:31 -0700 Subject: [PATCH] Fix build with Qt 5.12: fully-qualify base class Without the full name, moc will generate invalid code. This will happen for any base class whose name exactly matches the namespace it is in, because in struct A : public B::B inside class A, B is the injected name of the parent class, not the namespace, which in turn means B::B is the constructor. Change-Id: If7e743cf8476463880ccfffd155f3f51aa29e8b9 Reviewed-by: Ulf Hermann Reviewed-by: Tobias Hunger --- src/plugins/scxmleditor/common/search.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/scxmleditor/common/search.h b/src/plugins/scxmleditor/common/search.h index a492d9e877a..22c0d7033cf 100644 --- a/src/plugins/scxmleditor/common/search.h +++ b/src/plugins/scxmleditor/common/search.h @@ -49,7 +49,7 @@ class SearchModel; /** * @brief The Search class provides the way to search/find items. */ -class Search : public OutputPane::OutputPane +class Search : public ScxmlEditor::OutputPane::OutputPane { Q_OBJECT