QWidget::repaint: Recursive repaint detected
QWidget::repaint: Recursive repaint detected
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
If that is not possible, in Qt 5 you must at least reimplement
QCoreApplication::notify() and catch all exceptions there.
不要在主线程以外的任何子线程对GUI界面相关的小组件等进行建立/调用/操作等,通过信号槽在主线程的槽函数进行操作