Qt5 compatibility
Merge pull request #22 from unisontech/e162a7d5d06276ae740388a9914943eb4798f519

Qt5 compatibility fix