Added compatibility with Qt >=5
Merge pull request #24 from zloiia/master

Added compatibility with Qt >=5 in utils.cpp