qpa includes are considered private and should not be included
in public header files.
Change-Id: I26c744ec1d8ddef7b0c11c3d26b593be05f5aa54
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
#include <QtCore/qstring.h>
#include <QtWidgets/qicon.h>
#include <QtWidgets/qaction.h>
-#include <QtWidgets/qplatformmenu_qpa.h>
#ifdef Q_OS_WINCE
#include <windef.h> // for HMENU
class QMenuPrivate;
class QStyleOptionMenuItem;
+class QPlatformMenu;
class Q_WIDGETS_EXPORT QMenu : public QWidget
{
#include "QtCore/qbasictimer.h"
#include "private/qwidget_p.h"
+#include <qplatformmenu_qpa.h>
+
QT_BEGIN_NAMESPACE
#ifndef QT_NO_MENU
class QMenuBarPrivate;
class QStyleOptionMenuItem;
class QWindowsStyle;
+class QPlatformMenuBar;
class Q_WIDGETS_EXPORT QMenuBar : public QWidget
{