support older QT versions

This commit is contained in:
Volker Fischer 2015-03-16 16:17:31 +00:00
parent 6a79848382
commit c9b92728fa

View File

@ -39,7 +39,9 @@
#include <QDesktopServices>
#include <QUrl>
#include <QLocale>
#include <QElapsedTimer>
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
# include <QElapsedTimer>
#endif
#include <vector>
#include <algorithm>
#include "global.h"
@ -1138,6 +1140,7 @@ public:
// Timing measurement ----------------------------------------------------------
// intended for debugging the timing jitter of the sound card or server timer
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
class CTimingMeas
{
public:
@ -1189,6 +1192,7 @@ protected:
QElapsedTimer ElapsedTimer;
int iCnt;
};
#endif
/******************************************************************************\