diff options
Diffstat (limited to 'tests/benchmarks/gui/kernel')
-rw-r--r-- | tests/benchmarks/gui/kernel/qapplication/qapplication.pro | 1 | ||||
-rw-r--r-- | tests/benchmarks/gui/kernel/qwidget/qwidget.pro | 1 | ||||
-rw-r--r-- | tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp | 4 |
3 files changed, 5 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/kernel/qapplication/qapplication.pro b/tests/benchmarks/gui/kernel/qapplication/qapplication.pro index 0a5a394eb8..33f90bd228 100644 --- a/tests/benchmarks/gui/kernel/qapplication/qapplication.pro +++ b/tests/benchmarks/gui/kernel/qapplication/qapplication.pro @@ -1,4 +1,5 @@ load(qttest_p4) +QT += widgets # do not run benchmarks by default in 'make check' CONFIG -= testcase diff --git a/tests/benchmarks/gui/kernel/qwidget/qwidget.pro b/tests/benchmarks/gui/kernel/qwidget/qwidget.pro index 0be7f07a43..ea68f942b5 100644 --- a/tests/benchmarks/gui/kernel/qwidget/qwidget.pro +++ b/tests/benchmarks/gui/kernel/qwidget/qwidget.pro @@ -1,5 +1,6 @@ load(qttest_p4) +QT += widgets # do not run benchmarks by default in 'make check' CONFIG -= testcase diff --git a/tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp b/tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp index 1912b97ab1..841036b8bc 100644 --- a/tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp +++ b/tests/benchmarks/gui/kernel/qwidget/tst_qwidget.cpp @@ -40,7 +40,9 @@ ****************************************************************************/ #include <qtest.h> -#include <QtGui> + +#include <QtWidgets/QLayout> +#include <QtGui/QPainter> static void processEvents() { |