title: make qglviewer gives QT related errors
body: <p>I want to install libQGLViewer, which I downloaded from <a href="http://www.libqglviewer.com/download.html" rel="nofollow">http://www.libqglviewer.com/download.html</a> on Ubuntu 10.04. According to the manual I have to do; </p>
  
  <p>1) cd QGLViewer/</p>
  
  <p>2) qmake</p>
  
  <p>3) make</p>
  
  <p>Compiling the library by typing make almost immediately ends in error however;</p>
  
  <pre><code>`c++ -c -pipe -Wall -W -Os -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/macx-g++ -I. -I/usr/include/qt3 -I/System/Library/Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/AGL.framework/Headers/ -I.moc/ -o .obj/qglviewer.o qglviewer.cpp
  In file included from domUtils.h:23,
                   from qglviewer.cpp:23:
  config.h:77:22: error: QGLWidget: No such file or directory
  config.h:88:17: error: QList: No such file or directory
  config.h:89:19: error: QVector: No such file or directory
  In file included from qglviewer.cpp:23:
  domUtils.h:25:23: error: QDomElement: No such file or directory
  domUtils.h:26:19: error: QString: No such file or directory
  domUtils.h:27:23: error: QStringList: No such file or directory
  domUtils.h:28:18: error: QColor: No such file or directory
  `
  </code></pre>
  
  <p>this goes on for a while and ends in:</p>
  
  <pre><code>`qglviewer.cpp:841: error: ‘height’ was not declared in this scope
  qglviewer.cpp: At global scope:
  qglviewer.cpp:864: error: variable or field ‘timerEvent’ declared void
  qglviewer.cpp:864: error: ‘QTimerEvent’ was not declared in this scope
  qglviewer.cpp:864: error: expected primary-expression before ‘)’ token
  make: *** [.obj/qglviewer.o] Error 1
  rcar@DUD3642RCAR:~/Downloads/libQGLViewer-2.5.1/QGLViewer$ 
  `
  </code></pre>
  
  <p>I think this is because it cannot find the QT library. But I have installed QT 5.2 using the latest download from <a href="http://qt-project.org/downloads" rel="nofollow">http://qt-project.org/downloads</a>.</p>
  
  <p>Could it be the Makefile just can not locate the library path? And if so I how do I mend this?</p>