summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qt_widgets_pch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/kernel/qt_widgets_pch.h')
-rw-r--r--src/widgets/kernel/qt_widgets_pch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/kernel/qt_widgets_pch.h b/src/widgets/kernel/qt_widgets_pch.h
index b70941950b..3551f19e80 100644
--- a/src/widgets/kernel/qt_widgets_pch.h
+++ b/src/widgets/kernel/qt_widgets_pch.h
@@ -53,7 +53,9 @@
#include <qabstractbutton.h>
#include <qabstractscrollarea.h>
#include <qabstractslider.h>
-#include <qaction.h>
+#if QT_CONFIG(action)
+# include <qaction.h>
+#endif
#include <qcommonstyle.h>
#include <qlayout.h>
#include <qstyle.h>