Specify Qt4::QtGui dependency.

With CMake 2.8.4, it doesn't know it itself.
Merge topic 'fix-Qt5-windows-build' into next

501b850a Specify Qt4::QtGui dependency.