Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
6.6.0
-
None
-
Yocto Nanbield
-
-
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.