以下示例通過QObject::moveToThread()呼叫把worker物件新增到執行緒中執行: class Worker : public QObject { Q_OBJECT QThread workerThread; public ...
確定! 回上一頁