Hi
it was done done in qt 4.4 . There is no substantial change i believe in qt 4.8.

I included the .pro file for you review


Qt Code:
  1. QT += opengl
  2. HEADERS += \
  3. LabelCounter.h \
  4. FrustumMainWidget.h \
  5. OrthoMainWidget.h \
  6. PerspectiveMainWidget.h \
  7. SharedWidgetData.h \
  8. glWidgetWorldSpace.h \
  9. glWidgetScreenSpace.h \
  10. glm.h \
  11. ProjectionMainWindow.h \
  12. singleton.h \
  13. GLToolkit.h \
  14. GroupBoxCommandExtendedBox.h
  15.  
  16. SOURCES += \
  17. LabelCounter.cpp \
  18. FrustumMainWidget.cpp \
  19. OrthoMainWidget.cpp \
  20. PerspectiveMainWidget.cpp \
  21. SharedWidgetData.cpp \
  22. glWidgetWorldSpace.cpp \
  23. glWidgetScreenSpace.cpp \
  24. glm.cpp \
  25. ProjectionMainWindow.cpp \
  26. main.cpp \
  27. GLToolkit.cpp \
  28. GroupBoxCommandExtendedBox.cpp
  29.  
  30. FORMS += \
  31. projection.ui \
  32. perspective.ui \
  33. ortho.ui \
  34. frustum.ui
To copy to clipboard, switch view to plain text mode 


Thanks
Sajjadul