[Qt-interest] deploying application at linux
Frank Mertens
frank at cyblogic.de
Sat Oct 24 13:00:21 CEST 2009
Yuvaraj R wrote:
> I had never deployed Qt application under linux..
>
> My application i have used following module additionally
>
> 1) Qt network
>
> 2) Qt webkit
>
> 3) Qt Sql
>
> I tried with application distribution with following libs along with my
> application
>
> 1) Application folder
>
> 1) application
> 2) libQtGui.so.4
> 3) libQtCore.so.4
> 4) libQtNetwok.so.4
> 5) libQtxml.so.4
> 6) libQtWebkit.so.4
> 7)libQtSql.so.4
> 8) sql drivers folder
>
> But i am getting error message ../Maxxtel could not able to run.
>
Check out the 'chrpath' tool if you distribute on Linux.
(chrpath is a Debian project).
For instance if you are using separate bin and lib folders
in your distribution run the following two lines from the bin
folder:
chrpath -r '$ORIGIN/../lib' application
chrpath -c application
Run 'ldd application' before and afterwards to see what happens;-)
More information about the Qt-interest-old
mailing list