> If I just set
> cpp.rpaths: [ ]
> then I get a linker error wrt. missing ICU libs?
You should try setting the RPATHs to an array of paths which tell the loader
where to find the libraries.
For example, if your deployment looks like this:
myApp/bin/myApp (the executable)
myApp/lib/libQt5Core.so.5
myApp/lib/...
you might be able to do something like this for the executable:
cpp.rpaths: [ "$ORIGIN/../lib" ]
However, note that you might require different RPATHs during development if you
want to run the executable without setting up the complete deployment directory
structure first.
Also note that there are certain security issues with RPATHs. See for example
https://security.stackexchange.com/a/165762/125269
Kind regards
Jochen Ulrich
_______________________________________________
Qbs mailing list
[email protected]
https://lists.qt-project.org/listinfo/qbs