ah crap! it works now.. i had to link to the libqwt.a instead of the libqwt5.a.

thank you!