aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/manual/testbench/main.cpp3
-rw-r--r--tests/manual/testbench/testbench.pro2
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/manual/testbench/main.cpp b/tests/manual/testbench/main.cpp
index 56af4941..b6eec8d8 100644
--- a/tests/manual/testbench/main.cpp
+++ b/tests/manual/testbench/main.cpp
@@ -40,6 +40,7 @@
#include <QGuiApplication>
#include <QQmlApplicationEngine>
+#include <QtCore/private/qabstractanimation_p.h>
int main(int argc, char *argv[])
{
@@ -47,6 +48,8 @@ int main(int argc, char *argv[])
QGuiApplication app(argc, argv);
+ QUnifiedTimer::instance()->setSlowModeEnabled(app.arguments().contains("-slow"));
+
// These must be set before running.
// TODO: move style selection into app UI and use settings to save choices.
// qsetenv("QT_QUICK_FILE_SELECTORS", "material");
diff --git a/tests/manual/testbench/testbench.pro b/tests/manual/testbench/testbench.pro
index 92eef0a0..082ca66f 100644
--- a/tests/manual/testbench/testbench.pro
+++ b/tests/manual/testbench/testbench.pro
@@ -1,6 +1,6 @@
TEMPLATE = app
-QT += qml quick
+QT += qml quick core-private
CONFIG += c++11
SOURCES += main.cpp