Qt 6.11 is out! See what's new in the release
blog
How do I change the clock type in a QElaspedTimer?
-
I was every trouble trying to change my Clock type in a QElasped but it keeps on getting an error saying that the expression must be a ivalue.
Any ways to do this?
//Err \/ frameTimer.clockType() = QElapsedTimer::PerformanceCounter; -
I was every trouble trying to change my Clock type in a QElasped but it keeps on getting an error saying that the expression must be a ivalue.
Any ways to do this?
//Err \/ frameTimer.clockType() = QElapsedTimer::PerformanceCounter;@Hyperspider-Software
You cannot change it, it is just telling you what it is using on the platform.
https://doc.qt.io/qt-6/qelapsedtimer.html#ClockType-enum -
@Hyperspider-Software
You cannot change it, it is just telling you what it is using on the platform.
https://doc.qt.io/qt-6/qelapsedtimer.html#ClockType-enum@JonB Oh yea, I see,
Thanks!