Only include qtmain on WIN32.
Merge topic 'qt4-autolink-qtmain' into next

3d4e64f Only include qtmain on WIN32.