当我按下按钮运行时,我想启动我的。但是编译器输出以下错误:ASSERT failure in QThread::setTerminationEnabled(): "Current thread was not started with QThread", file thread\qthread_win.cp.
我不知道我的</
一个外部组件有一个回调,它在它的内部线程中执行,以std::thread开头,我想在这个线程中创建一个qt组件(而不是UI),将其他qt组件信号连接到这个qt组件,并让插槽函数在这个内部线程中执行。我希望在回调触发器处理挂起的槽函数调用之后,执行并运行事件循环。// call in a thread start with std::thread in ExternalComponent, this