The last four lines shouldn't be there. If you need them then apparently line #17 of your .pro file doesn't work which probably means you haven't read the readme file that comes with Qwt.