使用线程,遇到了一个问题,release模式正常,但debug模式崩溃,报如下错误:
ASSERT failure in QCoreApplication::sendEvent: Cannot send events to objects owned by a different thread. Current thread 171107d8. Receiver '' (of type 'xxx') was created in thread 1709e0c0, file kernel\qcoreapplication.cpp, line 541
Invalid parameter pas