Merge pull request #5 from burodesu/master

Qt 5 port
fix Qt5 compatibility