• 2024-12-16实现获取当前帧率并在QML中显示
    //fpscounter.h#ifndefFPSCOUNTER_H#defineFPSCOUNTER_H#include<QObject>#include<QQuickItem>#include<QElapsedTimer>classFpsCounter:publicQQuickItem{Q_OBJECTQ_PROPERTY(qrealfpsREADfpsNOTIFYfpsChanged)public:expl