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. Error with QT5.7.0 quick renderer 2d on a linuxfb device
Forum Updated to NodeBB v4.3 + New Features

Error with QT5.7.0 quick renderer 2d on a linuxfb device

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 1 Posters 1.3k Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello everyone! After some hard time I finished building Qt5 on a embedded device that uses linuxfb only and no hardware acceleration. When I execute an example with my environment variable QT_QPA_PLATFORM = eglfs I get the following error:

    Could not open egl display
    Aborted

    I did the procedure described in the Quick Renderer 2d page with the environment variable QMLSCENE_DEVICE=softwarecontext and the dummy openGL lib.
    I have no problem using the linuxfb but I need eglfs in order to run qtwebengine.

    Any idea about the problem?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Using QT_QPA_PLATFORM=linuxfb give me the following errors:

      QOpenGLWidget is not supported on this platform.
      This plugin does not support createPlatformOpenGLContext!
      This plugin does not support createPlatformOpenGLContext!

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Problem was really QT_QPA_PLATFORM=eglfs. After changed to linuxfb and solved QML dependencies it worked! :)

        1 Reply Last reply
        1

        • Login

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