Minor changes for QT5 support
Merge pull request #2 from dac922/qt5

Minor changes for QT5 support