Hi to all,
I need to know which Windows OS version is running but I've found only the Q_WS_WIN macro, could you suggest a better way?
Thanks!
Hi to all,
I need to know which Windows OS version is running but I've found only the Q_WS_WIN macro, could you suggest a better way?
Thanks!
As far as I know there is no function provided by Qt for that. You have to use the WindowsAPI.
Is QSysInfo something that could be used for that?
cydside (16th February 2010)
For example if you want to know if the OS is Vista or 7, you can use the following:
Qt Code:
// do Vista stuff }To copy to clipboard, switch view to plain text mode
Bookmarks