Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.8.0
-
None
Description
When I'm linking my Qt6 application I see the following warning messages:
(paths simplified for readability
ld: warning: /builds/project/[...]/sysroot/usr/lib/libGLESv2.so, needed by /home/menno/[...]/lib/libQt6Quick.so.6.8.0, not found (try using -rpath or -rpath-link) ld: warning: /builds/project/[...]/sysroot/usr/lib/libEGL.so, needed by /home/menno/[...]/lib/libQt6Quick.so.6.8.0, not found (try using -rpath or -rpath-link)
So libQt6Quick seems to be linked against an absolute path from the CI pipeline where I cross-compile the Qt libraries.
To be fair, those paths do in fact not exist on my laptop, but they also will not exist on my target device.
I guess this is a bug in how GLES and EGL are found in
qtbase/cmake/FindGLESv2.cmake
But let me know if this is something I can configure/suppress on my end.