Made source & pro compatible with both Qt4 and Qt5
Merge pull request #3 from kapojko/master

Made source & pro compatible with both Qt4 and Qt5