This project builds under qt4 as well, please check other pro files for a example.