From e6fad35155a25a932386ad6f8421efd74404ac7f Mon Sep 17 00:00:00 2001 From: Stephan Binner Date: Sun, 23 Jul 2017 11:31:32 +0200 Subject: Convert features.graphicsview to QT_[REQUIRE_]CONFIG Change-Id: I1083097802772624e5d414678b4612308683a56f Reviewed-by: Oswald Buddenhagen --- src/widgets/kernel/qaction_p.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/widgets/kernel/qaction_p.h') diff --git a/src/widgets/kernel/qaction_p.h b/src/widgets/kernel/qaction_p.h index 8ee71a5ff0..45394e0b52 100644 --- a/src/widgets/kernel/qaction_p.h +++ b/src/widgets/kernel/qaction_p.h @@ -54,7 +54,9 @@ #include #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 @@ -111,7 +113,7 @@ public: QAction::Priority priority; QList widgets; -#ifndef QT_NO_GRAPHICSVIEW +#if QT_CONFIG(graphicsview) QList graphicsWidgets; #endif #ifndef QT_NO_SHORTCUT -- cgit v1.2.3