关于QWebEngineView在老显卡的显示和闪屏问题的解决方案

1、支持老老显卡的设置属性

	QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
	//QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);  

	QGuiApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
	QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
	QApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);

2、加载错误的解决方法

拷贝opengl32sw.dll文件,改名为opengl32.dll就可以。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章