widgets: fix build using PCH with disabled features
Fix build using PCH when -DFEATURE_abstractbutton=OFF and/or -DFEATURE_abstractslider=OFF Pick-to: 6.7 6.5 Change-Id: Ifdb8d6454c242cf98f5effcd2708ef797c99a26d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit e54fa3c75656784cdde26dfd4d7d579d9ac93f00) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
53c7eb49b7
commit
2c4ffc1745
@ -15,9 +15,13 @@
|
||||
#include <qtwidgetsexports.h>
|
||||
#include <qtwidgetsglobal.h>
|
||||
#include <qapplication.h>
|
||||
#include <qabstractbutton.h>
|
||||
#if QT_CONFIG(abstractbutton)
|
||||
# include <qabstractbutton.h>
|
||||
#endif
|
||||
#include <qabstractscrollarea.h>
|
||||
#include <qabstractslider.h>
|
||||
#if QT_CONFIG(abstractslider)
|
||||
# include <qabstractslider.h>
|
||||
#endif
|
||||
#if QT_CONFIG(action)
|
||||
# include <qaction.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user