title: How to include Qt libs (qwebview.h) in Linux?
body: <p>I am just starting to use the Qt library. I am trying to compile my very first test script with the following header:</p>
  
  <pre><code>#include &lt;qwebview.h&gt;
  </code></pre>
  
  <p>However it won't compile:</p>
  
  <pre><code>g++ main.cpp -o run.main
  main.cpp:2:22: error: qwebview.h: No such file or directory
  main.cpp: In function ‘int main()’:
  main.cpp:10: error: ‘QWebView’ was not declared in this scope
  </code></pre>
  
  <p>I do have the libs installed on my Linux Kubuntu machine:</p>
  
  <pre><code>$ locate qwebview
  /usr/include/qt4/Qt/qwebview.h
  /usr/include/qt4/QtWebKit/qwebview.h
  /usr/lib/qt4/plugins/designer/libqwebview.so
  </code></pre>
  
  <p>I ran <code>ldconfig</code> once to make sure (I think) that the libs are seen, but apparently, it's not enough. </p>
  
  <p>How to I set up my machine so that I can start compiling software with Qt?</p>