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
parent
bf4177e9db
commit
a09fdd91cf
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue