天天看點

qt根據不同的作業系統引用不同的庫檔案

#ifdef Q_OS_WIN32 // win
    #include <synchapi.h>
#else
    #include <unistd.h>
#endif