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. Run qml with webgl on beaglebone black

Run qml with webgl on beaglebone black

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 216 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.
  • F Offline
    F Offline
    feixu
    wrote on last edited by feixu
    #1

    Hi:
    I saw the Raspberry PI can run qml with webgl backend.
    I am going to use webgl on BBB , but I did't found libqwebgl.so in the sdk root system (root/usr/lib/plugins/platforms),.
    so I cross compile the qt5.14.2 with opengl-es2(webgl need es2),then I copy the libqwebgl.so to the root system.and run my qml, this is the log information:
    Found metadata in lib /opt/libqwebgl.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "webgl"
    ]
    },
    "archreq": 0,
    "className": "QWebGLIntegrationPlugin",
    "debug": false,
    "version": 331264
    }

    Got keys from plugin meta data ("eglfs")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqlinuxfb.so"
    Found metadata in lib /usr/lib/plugins/platforms/libqlinuxfb.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "linuxfb"
    ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 331264
    }

    Got keys from plugin meta data ("linuxfb")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/plugins/platforms/libqminimal.so"
    Found metadata in lib /usr/lib/plugins/platforms/libqminimal.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "minimal"
    ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 331264
    }

    Got keys from plugin meta data ("webgl")
    QFactoryLoader::QFactoryLoader() checking directory path "/opt/platforms" ...
    Cannot load library /usr/lib/plugins/platforms/libqwebgl.so: (/usr/lib/plugins/platforms/libqwebgl.so: undefined symbol: ZNK20QPlatformIntegration28createPlatformSessionManagerERK7QStringS2, version Qt)
    QLibraryPrivate::loadPlugin failed on "/usr/lib/plugins/platforms/" : "Cannot load library /usr/lib/plugins/platforms/libqwebgl.so: (/usr/lib/plugins/platforms/libqwebgl.so: undefined symbol:"
    qt.qpa.plugin: Could not load the Qt platform plugin "webgl" in "/usr/lib/plugins" even though it was found.
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, webgl.

    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