Update to support Qt5.
Update to support Qt5.