摘要: Qt设置windows系统时间网上的回答很多,但很少有一步到位的,一般会有8小时时差,下面给出直接解决代码: #include "windows.h"void Dialog::setTime() { SYSTEMTIME st; GetLocalTime(&st);//关键在这里 st.wHour... 阅读全文
posted @ 2014-05-13 18:58 Bird-Man 阅读(1308) 评论(0) 推荐(0)