QWinEventNotifier: ... from another thread 来自另一线程错误 解决办法


当调用 QProcess::kill() 或 QProcess::terminate() 方法终止 QThread 内 python.exe 进程时,可能输出以下提示信息:

QProcess: Destroyed while process ("D:\\Python38-32\\python.exe") is still running.
QWinEventNotifier: Event notifiers cannot be enabled or disabled from another thread
					

改为调用 QThread::terminate() 方法。

See also:

Copyright Notice: This article is exclusive original manuscripts, copyrighted by Happy Digits Software , shall not be reproduced without permission.

Previous topic

Python 异常

Next topic

Bug vs. 硬件

Quick search