How would I go about checking if the Windows operating system is 32 or 64 bit during runtime? I would like to compile the application once for 32-bit, but have it be used for both versions, so using macros is out of the question.
From what I can tell, I'm supposed to use QSysInfo in order to determine this, but everything in the documentation looks foreign; I have no clue what I'm supposed to check or which value I should be checking for.
If someone could clarify and give an example on how to do this, or provide a more effective alternative, it would be greatly appreciated!