Did you also set the path for the header files of Qwt ?

On Linux, they should be located in /usr/include/qwt-qt4, if I remember well