inside QObject subclass */ auto thread = new QThread(this); auto timer = new QTimer(nullptr); timer->moveToThread(thread); timer->setInterval(1000); ...
確定! 回上一頁