我每次都会收到这样的信息:QObject::moveToThread: Cannot move objects with a parentQTimer *timer_= new QTimer(this);QThread* thread = new QThread(this);
device->device, SIGNAL(checkCompleted()), this, SLOT(doSomethingWhen
我想在QThread中运行一个计时器。我已经编写了一些代码,其中我在运行时得到了一些错误。请把我引向正确的方向。我做错了什么?(Parent is QThread(0x1498d10), parent's thread is QThread(0x11272b0), current thread is QThread(0x1498d10MainWindow(); Ui::MainWindow *ui;
#e