aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
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-05 13:14:44 +0000
commit720a88be5ba98a71a085ec5977d87ecb22c20008 (patch)
tree2d99c82cd9079f886d36aee3201c3ce24ab4fdee /tests/benchmarks
parent63f0406cfbf58e8c3e3369beb8ae6995a7a21650 (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>
Diffstat (limited to 'tests/benchmarks')
-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 59f5a57f5c..27622ed013 100644
--- a/tests/benchmarks/qml/animation/tst_animation.cpp
+++ b/tests/benchmarks/qml/animation/tst_animation.cpp
@@ -41,8 +41,11 @@ public:
private slots:
void abstractAnimation();
+
+#if defined(QT_BUILD_INTERNAL)
void bulkValueAnimator();
void propertyUpdater();
+#endif
void animationtree_qml();
@@ -75,6 +78,7 @@ void tst_animation::abstractAnimation()
}
}
+#if defined(QT_BUILD_INTERNAL)
void tst_animation::bulkValueAnimator()
{
QBENCHMARK {
@@ -90,6 +94,7 @@ void tst_animation::propertyUpdater()
delete updater;
}
}
+#endif // QT_BUILD_INTERNAL
void tst_animation::animationtree_qml()
{