解决QWindowsEGLStaticContext::create: Could not initialize EGL display: error 0x

重新安装了win7操作系统之后,本来正常的opengl功能失灵了.在qt中运行qopenglwidget,程序报错:

QWindowsEGLStaticContext::create: Could not initialize EGL display: error 0x3001

已开始以为是qt5.5.0的版本有bug导致。安装了qt5.8之后,问题还在。怀疑不是qt的版本问题,而是显卡驱动没装。于是下载了鲁大师,用鲁大师检测并更新显卡驱动,问题解决。

猜你喜欢

转载自blog.csdn.net/liji_digital/article/details/83035150