Well, I do not want to look at more advanced examples now, because before diving there I want to exercise a simple and neat example where I effectively use OpenGL.
I have some questions:
1) Is it a good idea to use the QOpenGLWidget class to achieve what I described? (i.e. use OpenGL with possibly minimum code overhead)
2) I looked at suggestions on here, and when I compile I get the following errors:
oglwidget.obj:-1: error: LNK2019: unresolved external symbol gluPerspective referenced in function "protected: virtual void __cdecl OGLWidget::resizeGL(int,int)" (?resizeGL@OGLWidget@@MEAAXHH@Z)Which another lib do I need to link with? (adding LIBS += opengl32.lib to the .pro file did not help)oglwidget.obj:-1: error: LNK2019: unresolved external symbol gluLookAt referenced in function "protected: virtual void __cdecl OGLWidget::resizeGL(int,int)" (?resizeGL@OGLWidget@@MEAAXHH@Z)




Reply With Quote
Bookmarks