Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-119140

Yocto: distro feature usrmerge breaks QLibraryInfo paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • 6.5.4, 6.6.2, 6.7.0 FF
    • 6.6.0
    • Yocto: meta-qt6 layer
    • None
    • Yocto Nanbield
    • Linux/Wayland
    • 5cfc35d4f (dev), ebb07490d (6.6), 2a2ae7c5e (lts-6.5)

    Description

      Using Yocto Nanbield with systemd requires now distro feature usrmerge which leads to wrong QLibraryInfo paths.

      I expierenced this because QtWebEngine wasn't anymore able to find  Qt WebEngine Process, Qt WebEngine resources,...

      Yocto release Mickledore w/o usrmerge the paths look like this:

      Yocto release Mickledore with usrmerge:

      Yocto release Nanbield with usrmerge:

      The cmake paths which are created by qt6-cmake.bbclass look fine to me

       
      -DCMAKE_INSTALL_PREFIX:PATH=/usr     -DCMAKE_INSTALL_BINDIR:PATH=bin     -DCMAKE_INSTALL_SBINDIR:PATH=sbin     -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec
      

       but what I think could be the reason for this is in the log and the end of the configure step

      CMake Warning:
        Manually-specified variables were not used by the project:
      
          CMAKE_EXPORT_NO_PACKAGE_REGISTRY
          CMAKE_INSTALL_BINDIR
          CMAKE_INSTALL_DATAROOTDIR
          CMAKE_INSTALL_INCLUDEDIR
          CMAKE_INSTALL_LIBEXECDIR
          CMAKE_INSTALL_LOCALSTATEDIR
          CMAKE_INSTALL_SBINDIR
          CMAKE_INSTALL_SHAREDSTATEDIR
          CMAKE_INSTALL_SYSCONFDIR
          FETCHCONTENT_FULLY_DISCONNECTED
          LIB_SUFFIX
          PYTHON_EXECUTABLE
          Python3_EXECUTABLE
          Python_EXECUTABLE
          QT_BUILD_INTERNALS_NO_FORCE_SET_INSTALL_PREFIX
          QT_EDITION
      

      This tells me Qt gets this information some other way which I wasn't yet able to find out.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sapiippo Samuli Piippo
            h4nn35 Johannes Pointner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes