diff --git a/src/widgets/kernel/qt_widgets_pch.h b/src/widgets/kernel/qt_widgets_pch.h index 213e2c23e04..7594f73c70d 100644 --- a/src/widgets/kernel/qt_widgets_pch.h +++ b/src/widgets/kernel/qt_widgets_pch.h @@ -15,9 +15,13 @@ #include #include #include -#include +#if QT_CONFIG(abstractbutton) +# include +#endif #include -#include +#if QT_CONFIG(abstractslider) +# include +#endif #if QT_CONFIG(action) # include #endif