i'm trying to deploy a QT application to linux with shared libraries. i've never attempted this before, but i'm following this guide: http://www.qtcentre.org/wiki/index.p...t_Applications
i have a directory structure as follows:
root dir
lib folder (contains libQtCore.so.4.8.1, and others)DT (executable)wrapper script
the wrapper script looks like this:
Qt Code:
#!/bin/sh export LD_LIBRARY_PATH=./lib ./DT $*To copy to clipboard, switch view to plain text mode
so after running the wrapper script, in a terminal i run "ldd DT | grep Qt", but it shows every qt library still pointing to /usr/lib.. for example: libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4
i've tried using chrpath -d DT as well, but there's no change. what's going on?
Bookmarks