[Qt-interest] Cannot link against shared lib in Harmattan
Christian Kandeler
christian.kandeler at nokia.com
Mon Jan 2 20:48:11 CET 2012
On 01/02/2012 09:13 AM, ext Srikanth wrote:
> I am linking against a lib which is part of the same project as the app.
> Every thing is created using Qt Creator, so that template for lib is
> using target = /usr/lib and mentioning INSTALLS += target.
It seems to me that you uncommented the dh_shlibdeps line in the "rules"
file. Any reason for that?
Apart from that, there are two other possibilities to work around this
issue:
1) If the library is supposed to be used by other apps, you should make
it a project of its own and deploy it before those apps. It should then
be found in the sysroot.
2) If the library is only to be used by one app, then there is not
really a reason for it to be a shared library. So just make it a static one.
Christian
More information about the Qt-interest-old
mailing list