rename -lQGLViewer to -lqglviewer-qt4. Dependency to libqglviewer-qt4-dev on precise.