ENH: Use Qt macros to find the current platform used