Add build support for Qt5.