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. Compiling Qt6 with wayland support
Qt 6.11 is out! See what's new in the release blog

Compiling Qt6 with wayland support

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

    Hi,
    After trying to compile qt6 from the qt6 repro I have to discover that qt6 is also in the qt 5 repository! With the correct repository I have been able to correctly configure to build for the host (host first then target).

    Initialising repro

    ./init-repository -f --module-subset=qtbase,qtwayland,qtdeclarative,qtimageformats,qtlanguageserver,qtshadertools,qtsvg
    

    cmake config

    cmake ../qt5/ -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=$QTBUILDROOT/qt-host/ -DFEATURE_xcb=ON -DBUILD_qtwayland=ON -DQT_FEATURE_eglfs_brcm=ON
    

    but after configure and starting to build I get the error

    from /home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/EWIEGA46WW/moc_qwaylandbrcmeglwindow.cpp:9,
                     from /home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/mocs_compilation.cpp:2:
    /home/tommy/projects/rPi4_OS/crossCompile/qt6/qt5ReproQt6CodeAndBuild/qt-hostbuild/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/QWaylandBrcmEglClientBufferPlugin_autogen/EWIEGA46WW/../../../../../../../../../qt5/qtwayland/src/plugins/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.h:14:10: fatal error: EGL/eglext_brcm.h: No such file or directory
       14 | #include <EGL/eglext_brcm.h>
    

    I can't find this file anywhere. Does anyone know where this exists or if I need another package?

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtSucks
      wrote on last edited by
      #2

      Any one know where this file can be found?

      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