[Interest] To rpath or not when building Qt

Bo Thorsen bo at vikingsoft.eu
Wed Mar 11 10:56:46 CET 2015


Den 10-03-2015 kl. 20:07 skrev Scott Aron Bloom:
>
> When building Qt for distribution via LGPL of a closed source product 
> using shared libraries.
>
> What is the best method to make sure the plugins pickup the Qt 
> libraries you are shipping?
>

In this case you mean this as a help to the user, right? That he can 
just start the application and then it works.

The usual approach on unix based systems is to ship a script that runs 
the executable with the proper library path set. This way you can 
support multiple install locations which rpath can't do.

Bo.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu




More information about the Interest mailing list