qt 读取硬件配置
1.主要使用利用wmic和QProcess来实现,QProcess获取wmic的执行结果,然后进行解析——————————————查询cpu信息:wmic cpu get DeviceID,name,NumberOfCores,NumberOfLogicalProcessors获取cpu名称:wmic cpu get Name查询cpu序列号:wmic cpu get processorid获取cpu核心数:wmic cpu get NumberOfCores获取cpu线程数:wmic cpu