Add Qt5 support.
Merge branch 'master' into qt5

Conflicts:
	configure
	configure.ac
	src/Makefile.am
	src/Makefile.in
Add a configure option for Qt5.