Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt5 with Mesa libraries on arm board
Qt 6.11 is out! See what's new in the release blog

Qt5 with Mesa libraries on arm board

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dharani.R
    wrote on last edited by
    #1

    Hi All,

      I have successfully compiled the Qt5 with Mesa libraries, but am facing below error while running the opengl based example code on arm board (No hardware acceleration).
    

    ./hellogl2 -platform eglfs

    QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
    QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
    Could not initialize egl display
    Aborted

    #./hellogl2 -platform linuxfb
    QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
    QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
    QOpenGLWidget is not supported on this platform.
    This plugin does not support createPlatformOpenGLContext!
    This plugin does not support createPlatformOpenGLContext!
    QOpenGLWidget: Failed to create context
    This plugin does not support createPlatformOpenGLContext!
    QOpenGLWidget: Failed to create context
    This plugin does not support createPlatformOpenGLContext!
    QOpenGLWidget: Failed to create context

    I used below configuration to cross-compile the both Qt5 and Mesa on ARM board:

    ./configure --disable-glut --with-demos= --with-gallium-drivers= --enable-shared-glapi --enable-gles1 --enable-gles2 --with-driver=dri --disable-gallium-intel --disable-gallium --with-dri-drivers=swrast --with-gallium-drivers=swrast --disable-glx --with-egl-platforms=drm,fbdev

    ./configure -release -force-pkg-config -opensource -system-zlib -shared -no-separate-debug-info -confirm-license -no-pch -no-c++11 -no-xcb-xlib -no-strip -opengl es2

    Please let me know how to enable and test the EGL driver (Mesa) on Qt5.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bobbyzhang
      wrote on last edited by
      #2

      hello,I have recently encountered the same problem. Although you discovered this problem a few years ago, I would appreciate it if you could answer me!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved