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. Qt 5.15 meta-qt5 yocto build
Forum Updated to NodeBB v4.3 + New Features

Qt 5.15 meta-qt5 yocto build

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

    Am trying to build qt5.15.2 with eglfs and opengl es2 without wayland and x11 using yocto on TI AM3358 device inorder to run QtQuick and QtQuickControls and it throws errors.

    Added below in conf:

    DISTRO_FEATURES_append = " opengl"

    DISTRO_FEATURES_remove = "x11 wayland"

    Added below in qtbase_git.bbappend:
    PACKAGECONFIG[gold-linker] = "-use-gold-linker,-no-use-gold-linker"
    PACKAGECONFIG[sql-plugin-sqlite] = "-system-sqlite -plugin-sql-sqlite,-no-sql-sqlite,sqlite3"
    PACKAGECONFIG[qml-debug] = "-qml-debug,-no-qml-debug"
    PACKAGECONFIG[qreal-float] = "-qreal float,"
    PACKAGECONFIG += "gles2"
    PACKAGECONFIG_append= "eglfs sql-plugin-sqlite freetype fontconfig icu accessibility glib harfbuzz pcre qreal-float tslib"
    PACKAGECONFIG_remove = "xcb linuxfb pulseaudio tools iconv alsa dbus gold-linker evdev openssl"

    However, it throws below errors after building qtbase through yocto:
    .../../../../git/config.tests/unix/opengles2/opengles2.cpp:38:25: fatal error: GLES2/gl2.h: No such file or directory
    compilation terminated.

    Makefile:177: recipe for target 'opengles2.o' failed
    make: *** [opengles2.o] Error 1

    Makefile:177: recipe for target 'opengles2.o' failed
    make: *** [opengles2.o] Error 1
    OpenGL ES 2.0 disabled.

    It uses https://github.com/meta-qt5/meta-qt5 with the above changes in conf and qtbase_git.bbappend.
    Any thoughts on how to resolve the same if I need to add includes in any mkspecs or any changes in bbappend ?

    Best Regards,
    Ramakanth

    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