aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-05-05 14:44:38 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-05-12 08:38:36 +0000
commit2a9fd3d83a25936fbf590773532d76e963b29d4e (patch)
treeb50918c105e46014f0103ec22fddb14dd1429e81
parent98af9f4a5a4caeae6f1eb7b13ae88cacec3b9717 (diff)
Fix build of animation benchmark
This was using symbols exported only by a developer build. Change-Id: If2e80a7f7831366a23c5c52669915385cfb3e7c6 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> (cherry picked from commit 720a88be5ba98a71a085ec5977d87ecb22c20008) Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
-rw-r--r--tests/benchmarks/qml/animation/tst_animation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/benchmarks/qml/animation/tst_animation.cpp b/tests/benchmarks/qml/animation/tst_animation.cpp
index 18b8910e36..bdafe5fb44 100644
--- a/tests/benchmarks/qml/animation/tst_animation.cpp
+++ b/tests/benchmarks/qml/animation/tst_animation.cpp
@@ -46,8 +46,11 @@ public:
private slots:
void abstractAnimation();
+
+#if defined(QT_BUILD_INTERNAL)
void bulkValueAnimator();
void propertyUpdater();
+#endif
void animationtree_qml();
@@ -80,6 +83,7 @@ void tst_animation::abstractAnimation()
}
}
+#if defined(QT_BUILD_INTERNAL)
void tst_animation::bulkValueAnimator()
{
QBENCHMARK {
@@ -95,6 +99,7 @@ void tst_animation::propertyUpdater()
delete updater;
}
}
+#endif // QT_BUILD_INTERNAL
void tst_animation::animationtree_qml()
{