diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-11-28 17:21:50 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-29 08:52:59 +0100 |
commit | 5943874eb1f5070cd1e276816ed0e8d51f4583f6 (patch) | |
tree | eb908126ffe188a078599ecb5fea92c626512d1f /tests/benchmarks/gui/painting/qtbench | |
parent | 3ec60ca51bc231b6330c766121619f184aa44660 (diff) |
Fix compilation of some benchmark tests on Windows.
Change-Id: Iab6b83f3d4693a3b5deaaf88043dde75a84866fd
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/benchmarks/gui/painting/qtbench')
-rw-r--r-- | tests/benchmarks/gui/painting/qtbench/benchmarktests.h | 1 | ||||
-rw-r--r-- | tests/benchmarks/gui/painting/qtbench/tst_qtbench.cpp | 3 |
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" |