I'm setting LD_LIBRARY_PATH to make newer Qt Mobility be used instead of the older one, so that the non-native apps can use it.
export LD_LIBRARY_PATH=/opt/qtm12/lib
One of the libraries is libQtSensors.so.1
but still,
/usr/lib/libQtSensors.so.1
is used instead of
/opt/qtm12/lib/libQtSensors.so.1
If I LD_PRELOAD the second library, everything is working, but I can't just preload all the qt mobility libraries, as it's not a library that is used always.
What am I doing wrong?