Hello!
I try build and use Wayland/Weston-1.70 and cross compile this at buildroot 2014.08. Qt is 5.4.
Build is success but use is imposible.
I run weston by: #weston --backend=fbdev-backend,so --tty=1
I run qt applications and got an error:
# ./qopenglwindow
Using Wayland-EGL
virtual void QWaylandEglClientBufferIntegration::initialize(QWaylandDisplay*) m_eglDisplay 0x6bbc98e0
failed to initialize EGL display
Cant find EGLConfig, returning null config
Cant find EGLConfig, returning null config
QWaylandGLContext: failed to create EGLContext, error=3008
QOpenGLWindow::beginPaint: Failed to create context
QOpenGLWindow::beginPaint: Failed to make context current
QOpenGLFunctions created with non-current context
Segmentation fault
or
# ./test_qt_ap
Using Wayland-EGL
virtual void QWaylandEglClientBufferIntegration::initialize(QWaylandDisplay*) m_eglDisplay 0x6affa8e0
failed to initialize EGL display
Cant find EGLConfig, returning null config
QWaylandGLContext: failed to create EGLContext, error=3008
Failed to create EGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
what can I do now?