title: Error when compiling simple Qwt program on Mac OSX 10.7.4
body: <p>I'm trying to get the following c++ program using Qwt v. 6.0.1 to work:</p>
  
  <pre><code>#include &lt;cmath&gt;
  #include &lt;QApplication&gt;
  #include &lt;qwt_plot.h&gt;
  #include &lt;qwt_plot_curve.h&gt;
  
  int main(int argc, char **argv)
  {
     QApplication a(argc, argv);
     QwtPlot plot(QwtText("CppQwtExample1"));
     plot.setGeometry(0,0,640,400);
     plot.setAxisScale(QwtPlot::xBottom, 0.0, 2.0*M_PI);
     plot.setAxisScale(QwtPlot::yLeft, -1.0, 1.0);
  
     QwtPlotCurve sine("Sine");
     std::vector&lt;double&gt; xs;
     std::vector&lt;double&gt; ys;
     for (double x=0; x&lt;2.0*M_PI; x+=(M_PI/10.0)) {
        xs.push_back(x);
        ys.push_back(std::sin(x));
     }
     sine.setData(&amp;xs[0], &amp;ys[0], xs.size());
     sine.attach(&amp;plot);
  
     plot.show();
     return a.exec();
  }
  </code></pre>
  
  <p>and the .pro file looks like:</p>
  
  <pre><code>TEMPLATE = app
  TARGET = CppQwtExample1
  QMAKEFEATURES += /usr/local/qwt-6.0.1/features
  CONFIG += qwt
  INCLUDEPATH += /usr/local/qwt-6.0.1/lib/qwt.framework/Headers
  LIBS += -L/usr/local/qwt-6.0.1/lib/qwt.framework/Versions/6/ \
   -lqwt
  SOURCES += qwtTest.cpp
  </code></pre>
  
  <p>However, when I now try to do</p>
  
  <p>qmake</p>
  
  <p>make</p>
  
  <p>I get the error:</p>
  
  <p>ld: library not found for -lqwt
  collect2: ld returned 1 exit status
  make: <em>*</em> [qwtTest.app/Contents/MacOS/qwtTest] Error 1</p>
  
  <p>I surely miss something here. Any help is greatly appreciated.</p>