- 論壇徽章:
- 0
|
Hi all
有沒有誰在QT中使用過webgl,我的理解是在配置的時候使能opengl es2,因為webgl也是opengl es2的一個子庫,所以只要支持了opengl es2,自然也支持webgl。
我的板子使用mali 400圖形硬件,且擁有了庫libEGL.so,libGLESv2.so,libMali.so,自己編譯一個opengl的測試樣例也可以運行通過,正確的顯示了3D畫面。但是在
QT中使能了opengl后,運行QT中的一個example hellogl_es2卻沒有顯示3d畫面,不知道是為什么?請高手指點,謝謝。
我看到QT中也帶有自己的opengl的庫,不知道是否需要替換?
我QT的配置如下:
./configure -confirm-license -shared -release -system-libtiff -no-qt3support -no-multimedia -no-phonon -no-phonon-backend -no-audio-backend -no-multimedia -reduce-relocations -no-nis -no-pch -no-dbus -no-largefile -stl -no-scripttools -script -no-gtkstyle -embedded sh4 -arch sh4 -no-fast -nomake translate -prefix /opt/qts/qt471 -little-endian -opensource -system-libjpeg -qt-gif -plugin-gfx-directfb -openssl -system-libpng -system-libmng -system-zlib -no-mmx -no-3dnow -no-sse -no-sse2 -no-cups -declarative -no-xmlpatterns -no-exceptions -no-declarative-debug -host-little-endian -depths 8,15,16,24,32 -opengl es2 "$@" |
|