add qthread.c