summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qpixmapstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/styles/qpixmapstyle.cpp')
-rw-r--r--src/widgets/styles/qpixmapstyle.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/widgets/styles/qpixmapstyle.cpp b/src/widgets/styles/qpixmapstyle.cpp
index 88482d28c9..63308a5e36 100644
--- a/src/widgets/styles/qpixmapstyle.cpp
+++ b/src/widgets/styles/qpixmapstyle.cpp
@@ -52,10 +52,16 @@
#include <QProgressBar>
#include <QSlider>
#include <QEvent>
+#if QT_CONFIG(combobox)
#include <QComboBox>
+#endif
+#if QT_CONFIG(itemviews)
#include <QAbstractItemView>
-#include <QListView>
#include <QStyledItemDelegate>
+#endif
+#if QT_CONFIG(listview)
+#include <QListView>
+#endif
#include <QAbstractScrollArea>
#include <QScrollBar>