diff options
Diffstat (limited to 'src/widgets/kernel/qaction_p.h')
-rw-r--r-- | src/widgets/kernel/qaction_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/kernel/qaction_p.h b/src/widgets/kernel/qaction_p.h index 6813ca08f6..4c1537b63b 100644 --- a/src/widgets/kernel/qaction_p.h +++ b/src/widgets/kernel/qaction_p.h @@ -54,7 +54,9 @@ #include <QtWidgets/private/qtwidgetsglobal_p.h> #include "QtWidgets/qaction.h" #include "QtWidgets/qmenu.h" +#if QT_CONFIG(graphicsview) #include "private/qgraphicswidget_p.h" +#endif #include "private/qobject_p.h" QT_BEGIN_NAMESPACE @@ -112,7 +114,7 @@ public: QAction::Priority priority; QList<QWidget *> widgets; -#ifndef QT_NO_GRAPHICSVIEW +#if QT_CONFIG(graphicsview) QList<QGraphicsWidget *> graphicsWidgets; #endif #ifndef QT_NO_SHORTCUT |