From 2d5dcd1b9f8683f13112913a760e27d13e9e88d0 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Thu, 30 Jul 2020 16:13:33 +0200 Subject: [PATCH] Include qhash.h in header instantiating QHash Include what you use. In this case, the include needs to happen before qpa/qplatformmenu.h, since that seems to pull in src/gui/kernel/qwindowdefs.h, which confuses matters (somehow) with a forward declaration. Change-Id: Ic09ecb014563e8ebee86f338c7e98e470f82185b Reviewed-by: Thiago Macieira --- src/plugins/platforms/android/qandroidplatformmenu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/android/qandroidplatformmenu.h b/src/plugins/platforms/android/qandroidplatformmenu.h index b8334ff970f..e7453601221 100644 --- a/src/plugins/platforms/android/qandroidplatformmenu.h +++ b/src/plugins/platforms/android/qandroidplatformmenu.h @@ -40,6 +40,7 @@ #ifndef QANDROIDPLATFORMMENU_H #define QANDROIDPLATFORMMENU_H +#include #include #include #include