Mercurial > hg > sonic-visualiser
changeset 2524:1891812e44b2
Another too-new Qt API
author | Chris Cannam |
---|---|
date | Wed, 29 Apr 2020 15:06:53 +0100 |
parents | 146403079bec |
children | 2179bf9757a0 |
files | main/OSCHandler.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/main/OSCHandler.cpp Wed Apr 29 14:46:53 2020 +0100 +++ b/main/OSCHandler.cpp Wed Apr 29 15:06:53 2020 +0100 @@ -36,7 +36,11 @@ #include <QTime> #include <QElapsedTimer> +#if (QT_VERSION >= 0x050600) #define NOW (QTime::currentTime().toString(Qt::ISODateWithMs)) +#else +#define NOW (QTime::currentTime().toString(Qt::ISODate)) +#endif void MainWindow::handleOSCMessage(const OSCMessage &message)