ubuntu1204 qt5.3运行qml程序时出错

来源:互联网 发布:辽宁农产品价格数据 编辑:程序博客网 时间:2024/06/09 14:23

ubuntu1204 环境下QT5.3运行QML程序时出现错

fatal error: GL/gl.h: No suchfile or directory


解决方法:

sudo apt-get update

sudo apt-get install libglu1-mesa-dev


再次运行

QML debugging is enabled. Only use this in a safe environment.

成功







http://stackoverflow.com/questions/22161026/qt-5-2-making-3d-animation-with-shadereffect-using-vertex-and-fragment-shaders

0 0