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.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/styles/qpixmapstyle.cpp b/src/widgets/styles/qpixmapstyle.cpp
index 63308a5e36..975ebfcdbf 100644
--- a/src/widgets/styles/qpixmapstyle.cpp
+++ b/src/widgets/styles/qpixmapstyle.cpp
@@ -49,7 +49,9 @@
#include <QPixmapCache>
#include <QStyleOption>
#include <QString>
+#if QT_CONFIG(progressbar)
#include <QProgressBar>
+#endif
#include <QSlider>
#include <QEvent>
#if QT_CONFIG(combobox)
@@ -63,8 +65,9 @@
#include <QListView>
#endif
#include <QAbstractScrollArea>
+#if QT_CONFIG(scrollbar)
#include <QScrollBar>
-
+#endif
#if QT_CONFIG(scroller)
#include <qscroller.h>
#endif