Reputation: 3606
Im trying to make a simple 2D application, and our image processing professor has told us to use opengl. Im working with c++ and QT.
I want to open a simple window that holds a place where I can draw points of different colors. All by code, there is no user interaction. I cant use any other library, can anyone tell me how to do this?
Upvotes: 0
Views: 2320
Reputation: 64253
OpenGL is a library to render. You need at least one or two more (at least to create a window).
Since that is a homework, take a look at this example on how to do your assignment.
Upvotes: 0
Reputation: 36
check out : http://www.digitalfanatics.org/projects/qt_tutorial/chapter14.html
Upvotes: 2