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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/styles/qpixmapstyle.cpp b/src/widgets/styles/qpixmapstyle.cpp
index 88482d28c9..20c9040a53 100644
--- a/src/widgets/styles/qpixmapstyle.cpp
+++ b/src/widgets/styles/qpixmapstyle.cpp
@@ -54,7 +54,9 @@
#include <QEvent>
#include <QComboBox>
#include <QAbstractItemView>
+#if QT_CONFIG(listview)
#include <QListView>
+#endif
#include <QStyledItemDelegate>
#include <QAbstractScrollArea>
#include <QScrollBar>