[Qt-interest] qmake: suppress version number from library name?
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Wed Jan 5 14:32:29 CET 2011
On 2011-01-05 Andreas Andreas Pakulat wrote:
> ...
> Why? If its a shared library it should have a SOVERSION which means at
> least 1 number in the whole thing, so that the runtime linking works
> properly (on Linux that is).
Oh, and I forgot to mention: what do you mean by "works properly"? Technically it works very well, my application links successfully against libFoo.so, which is located in the same directory as the application, and when specifying
QMAKE_LFLAGS += -Wl,--rpath=\'\$\$ORIGIN\'
for the actual application executable. Works like a charm ;) (At least on recent Linux distros like Kubuntu 10.10 ;)
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list