[Development] Android missing SONAME in lib's causes issues with cmake
rafael.roquetto at kdab.com
Tue Jul 9 14:12:11 CEST 2013
On Tue, Jul 09, 2013 at 10:40:46AM +0200, Stephen Kelly wrote:
> On Tuesday, July 09, 2013 10:32:19 Stephen Kelly wrote:
> > and confirmed this. I don't know what causes it. I think it's a cmake
> > issue, rather than a Qt issue.
> Sorry, I read your mail more closely, and I think you're right about the
> problem being that the Qt binaries do not have SONAME set.
I had exactly the same issue when trying to build some cmake project
for Qt on BB10. Turns out that the BB10 linker was not automatically setting
SONAME on the generated shared libs. Passing -soname to the compiler driver
explicitly via CMAKE_SHARED_LIBRARY_SONAME_C_FLAG addressed the problem. By
taking a quick look at the Android toolchain file, I haven't found anything
like that, so maybe it is something worth a shot?
Rafael Roquetto | rafael.roquetto at kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
Join us in October at Qt Developer Days 2013! - https://devdays.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4861 bytes
Desc: not available
More information about the Development