System info
-
I can't find some things I need in QSysInfo
I need:- Processor info
- GPU name and version
- DirectX version (if installed)
Thx
@nnzz
you could rundxdiag /t dxdiag.txtvia QProcess and parse the txt file for your info.
Ordxdiag /x dxdiag.xmlmight be easier to parse (e.g. using QDomDocument).The file contains several CPU, GPU and DirectX infos (and much more)
(
dxdiagcomes along with DirectX) -
I can't find some things I need in QSysInfo
I need:- Processor info
- GPU name and version
- DirectX version (if installed)
Thx
@nnzz
Qt is platfom-independent. Therefore it's only going to supply common information, e.g. DirectX is Windows only. IfQSysInfodoes not have what you want you are going to have discover what the native C library calls are for your platform and call them. [Edit] Or, as @raven-worx has shown, maybe there's a command you could run and parse its output (though obviously that's slower than a native call).