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 <ulf.hermann@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Thiago Macieira
2018-10-20 00:03:31 -07:00
parent 1b231d1dc6
commit 030901a743

View File

@@ -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