[Qtwebengine] OpenGL errors and crash

Oliver Kraitschy okraits at arcor.de
Fri Feb 20 21:48:39 CET 2015


Hi everybody,

i can't get QWebEngineView to work on my laptop with Arch Linux and 
Intel 855GM Graphics - even with a minimal piece of code i get OpenGL 
errors and the program crashes.

main.cpp:

#include <QWebEngineView>
#include <QApplication>

int main(int argc, char *argv[])
{
     QApplication a(argc, argv);
     QWebEngineView w;
	w.load(QUrl("http://google.de"));
     w.show();

     return a.exec();
}

test.pro:

QT       += core gui webenginewidgets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = test
TEMPLATE = app

SOURCES += main.cpp

This compiles without errors or warnings. When i run it, i get the 
following output:

QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing draw buffer.
QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
Speicherzugriffsfehler (Speicherabzug geschrieben)

Any hints how i can fix this?

Greetings,

Oliver



More information about the QtWebEngine mailing list