Re: Qt libraries on server ?
Hava a look at the "Deployment" section of the Qt documentation.
In general, you don't need to set anything up for the program to work, just include all the libraries necessary.
Re: Qt libraries on server ?
Quote:
Originally Posted by
rexi
In general, you don't need to set anything up for the program to work, just include all the libraries necessary.
Problem is that my program has hard-coded paths to libraries to /usr/lib (I don't have access to that folder on server). I only want to program work with libraries at ../ .
I have read mentioned documentations and all that I have found that could help is use of file qt.conf . It is unclear to me how this should be used. Existence of this file during compilation doesn't make any difference. The same situation is as while runtime. :confused:
Re: Qt libraries on server ?
What do you mean with hardcoded? You load the libs at runtime from your code or you used the linker flag to specify the /usr/lib location?
If it is the ladder one then I think you can just copy the .so files to the executable directory.