I have write some cgi-programs using Qt. These "scripts" are build with QCore and QSql and without gui.
On computer with Kubuntu it works fine, but now I would like to transfer that’s programs to the server without Qt.
Is it possible (and how) to copy necessary libraries in ~/lib and to set environment to programs works ?

Thanks in advance,