Skip to content

Integrate meta-guf-distro/fix_qtmultimedia_sdk

Commit: https://gitlab.com/garz-fricke/yocto/layers/meta-guf-distro/-/commit/42c77f1b5a8f54969f715f6568eaa7b99dfa43fb

qtmultimedia: Fix cmake files in the SDK

The qtmultimedia build creates the videonode cmake files correctly, but somehow the installation steps "damages" some cmake files.

I suspect the "Replace resolved lib path with the lib name" of the qmake5_base_do_install step from qtmake5_base.bbclass to corrupt the installed files.

Thus redo a simple copy from the build dir to the install dir to fix the issue.

Otherwise one might get a problem during build:

CMake Error at /opt/guf-wayland/dunfell-6.0/sysroots/aarch64-guf-linux/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:31 (message):
  The imported target "Qt5::Multimedia" references the file

     "/opt/guf-wayland/dunfell-6.0/sysroots/aarch64-guf-linux/usr/lib/plugins/videoimx6vivantevideonode"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/opt/guf-wayland/dunfell-6.0/sysroots/aarch64-guf-linux/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVivanteVideoNodeFactory.cmake"

  but not all the files it references.

BCS 746-000565

Merge request reports

Loading