#include <synchapi.h>
synchapi.h是Qt自带的头文件
Sleep(1000);延迟1s
sleep函数的线程休眠,线程主动放弃时间片,不能用作计时,只能起到延迟的作用
参考:https://blog.csdn.net/tingsking18/article/details/5304254
#include <synchapi.h>
synchapi.h是Qt自带的头文件
Sleep(1000);延迟1s
sleep函数的线程休眠,线程主动放弃时间片,不能用作计时,只能起到延迟的作用
参考:https://blog.csdn.net/tingsking18/article/details/5304254