summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/gui')
-rw-r--r--tests/benchmarks/gui/painting/qtbench/benchmarktests.h1
-rw-r--r--tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/painting/qtbench/benchmarktests.h b/tests/benchmarks/gui/painting/qtbench/benchmarktests.h
index ea87518985..0f4ea7c023 100644
--- a/tests/benchmarks/gui/painting/qtbench/benchmarktests.h
+++ b/tests/benchmarks/gui/painting/qtbench/benchmarktests.h
@@ -49,6 +49,7 @@
#include <QFontMetrics>
#include <QDebug>
#include <QStaticText>
+#include <QPainter>
class Benchmark
{
diff --git a/tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp b/tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp
index 4719d41f5f..25cbb076cf 100644
--- a/tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp
+++ b/tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp
@@ -41,7 +41,8 @@
#include <qtest.h>
-#include <QtGui>
+#include <QtCore/qmath.h>
+#include <QtWidgets/QWidget>
#include "benchmarktests.h"