Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.0 Beta2
-
None
Description
It's expected that configure -no-rpath turns off all rpaths.
Such a build should act as if the linker doesn't support rpaths at all.
A naive attempt at fixing this was done in
- https://codereview.qt-project.org/c/qt/qtbase/+/453874
- https://codereview.qt-project.org/c/qt/qtbase/+/455934
but causedQTBUG-110816.
The problem with these patches is that tools the build system needs cannot be called anymore, because the rpaths are missing and necessary Qt libs cannot be loaded.
We need to enhance _qt_internal_generate_tool_command_wrapper to generate Linux and macOS wrapper scripts that set LD_LIBRARY_PATH and DYLD_LIBRARY_PATH and friends on these platforms.
Attachments
Issue Links
- relates to
-
QTBUG-111759 Re-evaluate what -no-rpath should do
- Closed
- resulted from
-
QTBUG-110816 qmlcachegen fails to find the qtdeclarative libraries
- Closed