I am trying to discover where libqbscore.so
is loaded from, and when it happens. When I set LD_DEBUG=libs
and run the program, /bin/qtcreator
, I do not find libqbscore.so
amidst the debug.
If however, I set LD_PRELOAD=/path/to/libqbscore.so
, then I will start finding its occurences in the output.
LD_DEBUG
fail to display a library it is clearly loading?libqbscore.so
when I run QtCreator?Thanks.
It's because the qtcreator process does not load the libqbscore.so. The qbs child process loads it.
Because Qt Creator and Qbs are open source projects, their interactions can be analyzed by analyzing the source codes.