Hello forum


I have developed a small opengl application with Qt. Not i am porting the application to the new qt version qt 4.8.0

I having the following linker problem while linking

Qt Code:
  1. GroupBoxCommandExtendedBox.o moc_LabelCounter.o moc_FrustumMainWidget.o moc_OrthoMainWidget.o moc_PerspectiveMainWidget.o moc_SharedWidgetData.o moc_glWidgetWorldSpace.o moc_glWidgetScreenSpace.o moc_ProjectionMainWindow.o moc_GroupBoxCommandExtendedBox.o -L/usr/lib/i386-linux-gnu -L/usr/X11R6/lib -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread
  2. glWidgetWorldSpace.o: In function `GLWidgetWorldSpace::worldReshape(int, int)':
  3. /home/sajjad/Documents/realtimerendering/projection/glWidgetWorldSpace.cpp:85: undefined reference to `gluPerspective'
  4. glWidgetScreenSpace.o: In function `GLWidgetScreenSpace::screenReshape(int, int)':
  5. /home/sajjad/Documents/realtimerendering/projection/glWidgetScreenSpace.cpp:95: undefined reference to `gluPerspective'
  6. /home/sajjad/Documents/realtimerendering/projection/glWidgetScreenSpace.cpp:125: undefined reference to `gluLookAt'
  7. collect2: ld returned 1 exit status
  8. make: *** [projection] Error 1
To copy to clipboard, switch view to plain text mode 


I have opengl driver installed in my system and it is functional as i have run the qt demos


Any hint to get around this problem ?


Regards
Sajjadul