Skip to content

Commit 720a88b

Browse files
author
Erik Verbruggen
committed
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>
1 parent 63f0406 commit 720a88b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/benchmarks/qml/animation/tst_animation.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ class tst_animation : public QObject
4141

4242
private slots:
4343
void abstractAnimation();
44+
45+
#if defined(QT_BUILD_INTERNAL)
4446
void bulkValueAnimator();
4547
void propertyUpdater();
48+
#endif
4649

4750
void animationtree_qml();
4851

@@ -75,6 +78,7 @@ void tst_animation::abstractAnimation()
7578
}
7679
}
7780

81+
#if defined(QT_BUILD_INTERNAL)
7882
void tst_animation::bulkValueAnimator()
7983
{
8084
QBENCHMARK {
@@ -90,6 +94,7 @@ void tst_animation::propertyUpdater()
9094
delete updater;
9195
}
9296
}
97+
#endif // QT_BUILD_INTERNAL
9398

9499
void tst_animation::animationtree_qml()
95100
{

0 commit comments

Comments
 (0)