Qt5 support for version 1.0