Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Add missing QElapsedTimer includes in tests

Joshua Goinsb91659b5ab32
diff --git a/benchmarks/KisAnimationRenderingBenchmark.cpp b/benchmarks/KisAnimationRenderingBenchmark.cpp
index 808561dac0..bf21a73673 100644
--- a/benchmarks/KisAnimationRenderingBenchmark.cpp
+++ b/benchmarks/KisAnimationRenderingBenchmark.cpp
@@ -6,6 +6,7 @@
#include "KisAnimationRenderingBenchmark.h"
+#include <QElapsedTimer>
#include <QThread>
#include <simpletest.h>
diff --git a/benchmarks/kis_painter_benchmark.cpp b/benchmarks/kis_painter_benchmark.cpp
index b1a71bbfb2..ebc7809218 100644
--- a/benchmarks/kis_painter_benchmark.cpp
+++ b/benchmarks/kis_painter_benchmark.cpp
@@ -16,6 +16,7 @@ inline double drand48()
#include <simpletest.h>
#include <QtMath>
+#include <QElapsedTimer>
#include <QImage>
#include <kis_debug.h>
diff --git a/libs/image/tests/KisOverlayPaintDeviceWrapperTest.cpp b/libs/image/tests/KisOverlayPaintDeviceWrapperTest.cpp
index 3379576464..e91cc7197e 100644
--- a/libs/image/tests/KisOverlayPaintDeviceWrapperTest.cpp
+++ b/libs/image/tests/KisOverlayPaintDeviceWrapperTest.cpp
@@ -11,6 +11,8 @@
#include <kis_paint_device.h>
#include "kistest.h"
+#include <QElapsedTimer>
+
#include <KoColor.h>
#include <kis_paint_device_debug_utils.h>
diff --git a/sdk/tests/stroke_testing_utils.cpp b/sdk/tests/stroke_testing_utils.cpp
index de71601ff4..b037e21829 100644
--- a/sdk/tests/stroke_testing_utils.cpp
+++ b/sdk/tests/stroke_testing_utils.cpp
@@ -9,6 +9,7 @@
#include <simpletest.h>
#include <QDir>
+#include <QElapsedTimer>
#include <KoColor.h>
#include <KoColorSpace.h>
#include <KoColorSpaceRegistry.h>