Can I get FPS from QQuickView?
-
In QML1 I used QT_SHOW_DECLARATIVEVIEW_FPS, but in QML2 (Qt5) it's didn't work.
How can I enable FPS showing?
Thanks. -
I guess you can still overload the paintevent method from the QQuickView class with the appropriate code?
Bill -
There is no such method.
-
There is no such method.
-
I think it would be pretty easy to create a custom qml component that renders the current fps
-
I think it would be pretty easy to create a custom qml component that renders the current fps
-
Here is how it can be done on the QML side: "FPSMonitor":https://github.com/rburchell/qmantle2/blob/master/FPSMonitor.qml. Not sure if this is the best option, but at least you can get a rough estimation of FPS.
-
Here is how it can be done on the QML side: "FPSMonitor":https://github.com/rburchell/qmantle2/blob/master/FPSMonitor.qml. Not sure if this is the best option, but at least you can get a rough estimation of FPS.