PDA

View Full Version : glCallList can not display the model.



G.H.Lee
18th February 2016, 12:29
Hello, I wrote a programme using qt 4.8.4 a month ago, it works well. But today I use the qt 5.5 to compile it. The model can not show. I find the glCallList() has nothing to show. But if I use the glGetError to find what is wrong, it returns 0. Nothing is wrong. So why this happens? How to debug this problem ?

d_stranz
18th February 2016, 16:47
Have you compared your program to the OpenGL examples provided with your Qt 5.5 distribution to see if there are any significant differences? Have you built and run any of those examples successfully?

G.H.Lee
19th February 2016, 01:25
Yes, I can run the examples, which lie in the folder "\Qt\Qt5.5.0\Examples\Qt-5.5\opengl". But the examples using the VBO, not the display list. So I still can not understand why the glCallList can not show anything. How to debug ?



Have you compared your program to the OpenGL examples provided with your Qt 5.5 distribution to see if there are any significant differences? Have you built and run any of those examples successfully?