From 33f1eb50e24785d365f60119b5f9292ae94b9d20 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 9 Oct 2019 13:35:58 +0200 Subject: Fix build of the sub-attaq example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QMenuBar is only forward declared in QMainWindow. I don't think this is a recent change or breakage, just noticed then when running a complete build of the 5.15 branch. Change-Id: Ia1a072044bd26c5f3f51ec5f5b0f72f065a0576f Reviewed-by: Johanna Äijälä Reviewed-by: Paul Wicking --- examples/widgets/animation/sub-attaq/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/widgets/animation/sub-attaq/mainwindow.cpp') diff --git a/examples/widgets/animation/sub-attaq/mainwindow.cpp b/examples/widgets/animation/sub-attaq/mainwindow.cpp index 8f545ecebd..f9617a22eb 100644 --- a/examples/widgets/animation/sub-attaq/mainwindow.cpp +++ b/examples/widgets/animation/sub-attaq/mainwindow.cpp @@ -56,6 +56,7 @@ #include #include #include +#include #include #ifndef QT_NO_OPENGL -- cgit v1.2.3