qt5wayland Compositor in buildroot linux problem

  • I am try to add qt5wayland to buildroot/package/qt5,the qt5wayland.mk as bellow:
    After this ,run "make menuconfig" to build qt5wayland module:

    Then make a firmware ,in my develop device:

    I try to run pure-qml example,it failed:
    0_1504611832126_c53635b6-075b-4703-a6a4-88923ac99e59-image.png .

    I don't know why "QtWayland.Compositor" is not loaded as expected:
    qrc:///qml/main.qml:52 module "QtWayland.Compositor" is not installed

  • I found that some files is not copy to target dir,so after run below cmd,it works:
    cp output/host/usr/aarch64-device-linux-gnu/sysroot/usr/qml/QtWayland/ output/target/usr/qml/ -r

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.