I have qtcreator installed using the qt online installer. It ships which its own version of qt library. The qt library are also installed in the system directories, but those are older. I have problems with qtcreator (see qt-forums). Suspecting this might be because Qt is using the old system libraries, I ran qt using
strace -e open qtcreator.sh
and indeed, it uses the libraries in /usr/lib/x86_64-linux-gnu/qtcreator/
To load the correct libaries, the qrcreator.sh script sets LD_LIBRARY_PATH to
this is correct, but still, the libraries from /usr/lib/x86_64-linux-gnu/qtcreator are used.
How can I tell qtcreator to use the local libraries despite the existence of the system wide libraries?