在QT中引入processthreadsapi.h,如果出现 “No Target Architecture”,需要在processthreadsapi.h前引入windows.h
#include <Windows.h>
#include <processthreadsapi.h>