定义QTimer、QThread对象. 将QTimer 移动到QThread内执行. class MyTimer : public QObject. {. Q_OBJECT. public: MyTimer(). : timerInterval(500). {. thread = new ...
確定! 回上一頁