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 += opengl
HEADERS += \
LabelCounter.h \
FrustumMainWidget.h \
OrthoMainWidget.h \
PerspectiveMainWidget.h \
SharedWidgetData.h \
glWidgetWorldSpace.h \
glWidgetScreenSpace.h \
glm.h \
ProjectionMainWindow.h \
singleton.h \
GLToolkit.h \
GroupBoxCommandExtendedBox.h
SOURCES += \
LabelCounter.cpp \
FrustumMainWidget.cpp \
OrthoMainWidget.cpp \
PerspectiveMainWidget.cpp \
SharedWidgetData.cpp \
glWidgetWorldSpace.cpp \
glWidgetScreenSpace.cpp \
glm.cpp \
ProjectionMainWindow.cpp \
main.cpp \
GLToolkit.cpp \
GroupBoxCommandExtendedBox.cpp
FORMS += \
projection.ui \
perspective.ui \
ortho.ui \
frustum.ui
QT += opengl
HEADERS += \
LabelCounter.h \
FrustumMainWidget.h \
OrthoMainWidget.h \
PerspectiveMainWidget.h \
SharedWidgetData.h \
glWidgetWorldSpace.h \
glWidgetScreenSpace.h \
glm.h \
ProjectionMainWindow.h \
singleton.h \
GLToolkit.h \
GroupBoxCommandExtendedBox.h
SOURCES += \
LabelCounter.cpp \
FrustumMainWidget.cpp \
OrthoMainWidget.cpp \
PerspectiveMainWidget.cpp \
SharedWidgetData.cpp \
glWidgetWorldSpace.cpp \
glWidgetScreenSpace.cpp \
glm.cpp \
ProjectionMainWindow.cpp \
main.cpp \
GLToolkit.cpp \
GroupBoxCommandExtendedBox.cpp
FORMS += \
projection.ui \
perspective.ui \
ortho.ui \
frustum.ui
To copy to clipboard, switch view to plain text mode
Thanks
Sajjadul
Bookmarks