Detect operating system, physical memory and other system information
I want to collect information that what is current OS, how physical memory (RAM) does the machine has, how much disk space etc. I tried to use QSysInfo but was not able to get what I am looking for.
Also in some document it is written that QSysInfo::WindowsVersion() function is there but this is also missing in QSysInfo. QSysInfo has very few options.
Re: Detect operating system, physical memory and other system information
It's hard to gather such information from a single source and definitely not in a cross-platform way. On Unix you'd have to parse some files in /proc, for example.
Re: Detect operating system, physical memory and other system information
Does is required to modify .pro file to get all options of QSysInfo::WindowsVersion()
Re: Detect operating system, physical memory and other system information
How are you trying to access them?
Re: Detect operating system, physical memory and other system information
How can get available physical memory on windows platform?
Re: Detect operating system, physical memory and other system information
Re: Detect operating system, physical memory and other system information
it is leading to only google search page for this phrase. I want to calculate available physical memory on a machine using QT.
Re: Detect operating system, physical memory and other system information
Quote:
Originally Posted by
mvbhavsar
it is leading to only google search page for this phrase.
Congratulations, that was the idea. Now look at the results and follow the one that looks like it knows how to calculate available physical memory using C++.
Re: Detect operating system, physical memory and other system information
Qt is a framework, not a language. If you can't see the functionality in the Qt documentation, then look for a C++ solution. It's not difficult, Wysota even created the google query for you.