Qt4 compatibility fixes
Better and more portable .pro, using pkg-config on Unix
Merge pull request #1 from devernay/qt4-compatibility

Qt4 compatibility