When you start to pick up OpenGL on the Linux platform or on other non-Windows platforms, you'll be able to feel the power of OpenGL over DX.
Cut to the chase.
First of all, you can Baidu "Qt OpenGL Tutorial", you can download to a DOC format document, very nice. can refer to slowly introduction, and then combined with the control of Qt itself, as well as Qgraphicsview and Qwidget, and so on, I believe you will write very beautiful, and very interactive small program, hehe, but note that the document in Qt is 3, not 4.
Second, you can definitely move the Nehe tutorial (which is in the win platform) to learn, OpenGL is to support Cross-platform. And you can't run the program because it's a non-GL function. If you are under QT, you can refer to my other articles, some of the details (such as the QT path and the win path when GL later used texture mapping, such as the difference between QT3 and Qt4 when creating colors).
Finally, I hope you insist. This is more important than anything, do not give up, do not magnify difficulties. Is nothing more than OpenGL, it is Linux, but also open source, boil always boil out.
Uh...... Finished, found himself a lot of nonsense, but also a very water article ~
Beyond C + + original articles, reproduced please indicate the source and retain the original link
This article link: http://www.beyondc.cn/qt-environment-for-learning-opengl.html