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 <thiago.macieira@intel.com>
This commit is contained in:
Edward Welbourne 2020-07-30 16:13:33 +02:00
parent 86ebe46f59
commit 2d5dcd1b9f

View File

@ -40,6 +40,7 @@
#ifndef QANDROIDPLATFORMMENU_H
#define QANDROIDPLATFORMMENU_H
#include <qhash.h>
#include <qpa/qplatformmenu.h>
#include <qlist.h>
#include <qmutex.h>