Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
BibekKumar last edited by
how to know whether user's system is win 7 32 bits or 64 bits ..
lgeyer last edited by
I don't think there is a Qt-ish way of determining this information at runtime, but you might use native code instead, like "GetNativeSystemInfo()":http://goo.gl/lR0f4.
Genone last edited by
Do you want to know what the OS edition is (if so, do you just care about Windows?), or wether your program is running in 32/64 bit mode?
Second is easy using QSysInfo::WordSize, for the former you need OS-specific code (uname, Get[Native]SystemInfo, ...)