Rebuilded for using with QT 5.x