Add Qt version detection for Windows.