Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
QThread::wait() 在调用与 QThread::finished() 信号相关联的所有槽后是否返回(即取消阻止执行)?
提前致谢。
不,它可能在执行与信号相关的槽之前、期间或之后返回finished()。
finished()
这取决于信号槽连接的类型,请阅读有关排队连接和直接连接的信息。