Fix -tickcounter in qtestlib.

HAVE_TICK_COUNTER is supposed to be set (if possible) from cycle_p.h, so
guarding cycle_p.h's inclusion with HAVE_TICK_COUNTER ensures it will never be
set.

Change-Id: I6313d0a2efd47c89522623e8e7b3f505489ded90
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
bb10
Robin Burchell 2011-12-16 18:32:46 +01:00 committed by Qt by Nokia
parent bf4177e9db
commit a09fdd91cf
1 changed files with 0 additions and 2 deletions

View File

@ -54,9 +54,7 @@
//
#include <QtCore/qelapsedtimer.h>
#ifdef HAVE_TICK_COUNTER
#include <QtTest/private/cycle_p.h>
#endif
#include <QtTest/qbenchmark.h>
QT_BEGIN_NAMESPACE