[solved] Return time in UTC with Qt 4.7
General and Desktop
4
Posts
3
Posters
3.2k
Views
1
Watching
-
Hello
How can I return the current time in UTC with Qt 4.7? The following code:@QTime::currentTime(Qt::UTC);@
causes the following error:
error: no matching function for call to 'QTime::currentTime(Qt::TimeSpec)'
qt-4.7.3/include/QtCore/qdatetime.h:183: note: candidates are: static QTime QTime::currentTime()Thanks!
Richard