Installing Qt 5.1.1 and qwt 6.1.0 on ubuntu 12.04
I've recently came to linux from a 1 year windows run in Qt so I don't know how this works exactly and couldn't find any thing decent. So here it is :
As is obvious from the title I'm trying to install qt 5.1.1 and qwt 6.1.0 in ubuntu 12.04. I have written a project with the same versions in windows and now I want to run the project in linux. The problem is I don't know If I'm doing the installing process right! I installed Qt 5.1.1 in /opt/qt 5.1.1 and compiled qwt 6.1.0 to /usr/local. I copied the files in include , lib , plugin/designer to the related folders in qt 5.1.1. After this the plugin is fine and I can see the .h files when I type include but when I want to run my project I get the error undefined reference to ... for every method or attribute of qwt library used!
What am I doing wrong here?
Any help would be appreciated, Thank you