cmake: Silence policy CMP0020 warnings on Windows.

I'm not sure exactly how this policy affects us, other than the warnings
themselves.
cmake: Don't require QT when ENABLE_GUI is set to AUTO.
gui: Ignore more generated files.
Update install instructions for Qt5.