#ifndef __FPSITEM_H__ #define __FPSITEM_H__ #include "Utilities.h" #include class FpsItem : public QQuickItem { Q_OBJECT QML_ELEMENT Q_PROPERTY_AUTO(int, fps) public: FpsItem(); private: int _frameCount = 0; }; #endif // __FPSITEM_H__