Added support for Qt5.