Hello, Liu:
I am running your code on Ubuntu16.04, however, when I run python demo.py, the following two lines showed repeatedly:
QObject::moveToThread: Current thread (0x55c07be39a60) is not the object's thread (0x55c07c164490).
Cannot move to target thread (0x55c07be39a60)
Is it a normal phenomenon or there's something wrong with my operation? Thank you for your time.