无事件循环或非 GUI / Qt 线程中使用 QTimer

NoSuchKey