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. [meta-qt5] OpenGL runtime error with linuxfb platform
Forum Updated to NodeBB v4.3 + New Features

[meta-qt5] OpenGL runtime error with linuxfb platform

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.2k 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.
  • J Offline
    J Offline
    juba
    wrote on last edited by
    #1

    Hi all,

    I am trying to run a Qt5 application on at91sam9x35 atmel board with Yocto (poky dora).
    

    On this environment I am able to run Qt4 application using the embedded version of qt4 provided by atmel.
    I suppose that the embedded mode use linuxfb platform.

    Now I want to build and run applications written in Qt5 on the same board, so I try the meta-qt5 layer.
    I build the library adding the linuxfb option into the qtbase recipe variable PACKAGECONFIG.

    My simple test application use qml, I built and deploy it successfully, but when I try to launch it with
    @# <appname> -platform linuxfb@

    I get the following error:
    @This plugin does not support createPlatformOpenGLContext!@

    And then the application crash.
    In my code there aren't any refer to OpenGL and the hardware doesn't support OpenGL or OpenGL ES.
    I haven't any idea about this error...

    Has anyone else used the QT5 in this way?

    Thanks in advance,
    Stefano.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mmckenzie
      wrote on last edited by
      #2

      I'm about 99% sure that QtQuick2 requires OpenGL ES as it uses a scenegraph and such - maybe someone else could back me up on this. If your hardware doesn't support it then you probably wont be able to use QtQuick2...

      You could try using QtQuick1 which I believe does not require opengl, or stick with widgets.... try this just to see if it works at all:
      http://qt-project.org/doc/qtcreator-2.6/creator-qml-application.html

      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