24.10.2022 13:48, Christian Kandeler via Qbs пишет:
On 10/24/22 12:34, Карелин Павел wrote:
I think runpath is wrong for libqbscore.so.1.23.2: instead of
'$ORIGIN/../lib/qtcreator' it should be '$ORIGIN/../../lib/qtcreator'
Why? bin/ and lib/ are located on the same level.
Because loading the libqbsscriptengine.so.1.23 library comes from
libqbscore.so.1.23.2, not bin/qbs.
I conducted an experiment: in the libqbscore.so.1.23.2 I replaced
runpath from '$ORIGIN/..:$ORIGIN/../lib/qtcreator:/opt/qt515/lib' to
'$ORIGIN/../../lib/qtcreator:/opt/qt515/lib:/usr/bi'
And everything worked for me.
I think that if libqbsscriptengine.so.1.23 to link directly to qbs, then
everything will work too. The only thing, the loading of
libqbsscriptengine.so.1.23 should occur before loading libqbscore.so.1.23.2
Christian
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs