<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-65pm42dYEdY/UTxXmMpIwmI/AAAAAAAAAeA/sQG3EEetj7Y/s1600/%E6%9C%AA%E5%91%BD%E5%90%8D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://4.bp.blogspot.com/-65pm42dYEdY/UTxXmMpIwmI/AAAAAAAAAeA/sQG3EEetj7Y/s320/%E6%9C%AA%E5%91%BD%E5%90%8D.png" width="320" /></a></div><br />前幾天發現在Qt5裡,所有的fixed function pipeline都不能編譯了。稍微<a href="http://qt-project.org/forums/viewthread/23499">google</a>了一下,才發現,原來Qt5所有precompile的安裝包,都是用<a href="http://code.google.com/p/angleproject/">ANGLE layer</a>來實作OpenGL ES2,也就是你要寫的是OpenGL ES2,而不是OpenGL。所以一些fixed function pipeline的function,例如glBegin/glEnd都不能用了。