QObject::setParent: Cannot set parent, new parent is in a different thread
Xlib: unexpected async reply
You can not do GUI operations from a thread which does not own QApplication object.
In GUI applications, the main thread is also called the GUI thread becase it’s the only thread that is allowed to perform GUI-related operations.
例子:
![](/fileicon/zip.gif) |
文件: | training.tar.bz2 |
大小: | 4KB |
下载: | 下载 |
|
阅读(2284) | 评论(1) | 转发(0) |