<div dir="ltr"><div>Hello,</div><div>the libMapperoCore.so should have the architecture name like this: libMapperoCore-arch.so</div><div>What type of product do you use for the MapperoCore?</div><div><br></div><div>Raphael<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 23 mai 2022 à 10:13, Christian Kandeler <<a href="mailto:christian.kandeler@qt.io">christian.kandeler@qt.io</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/22/22 21:57, Alberto Mardegan wrote:<br>
> So far I've built my Android application using Qt 5.12, for the arm <br>
> architecture only, and everything has worked fine.<br>
><br>
> Today I tried migrating to 5.15, which supports multiarch, and I'm <br>
> getting an issue: after building all the files for all the four <br>
> supported architectures ("Qt with multiple abi detected: <br>
> 'armeabi-v7a,arm64-v8a,x86,x86_64'"), I get an error during the <br>
> install phase:<br>
><br>
> ======<br>
> ERROR: Cannot install files <br>
> '/home/mardy/src/git/mappero/abuild/default/MapperoCore.eyJhcmNoaXRlY3R1cmUiOiJ4ODZfNjQifQ--.8341646d/libMapperoCore.so' <br>
> and <br>
> '/home/mardy/src/git/mappero/abuild/default/MapperoCore.eyJhcmNoaXRlY3R1cmUiOiJhcm02NCJ9.14539b45/libMapperoCore.so' <br>
> to the same location <br>
> '/home/mardy/src/git/mappero/abuild/default/install-root/usr/local/lib/libMapperoCore.so'. <br>
> If you are attempting to install a directory hierarchy, consider using <br>
> the qbs.installSourceBase property.<br>
> ======<br>
<br>
Presumably you have set qbs.install to true somewhere in the library <br>
product, with no per-arch differentiation, leading to  a conflict. Since <br>
in the Android case the libraries are not the final build artifact, they <br>
should not get installed.<br>
<br>
> where MapperoCore is a DynamicLibrary. But actually I didn't spend <br>
> time investigating this (and neither should you), because I don't <br>
> really care about other architectures: I would be happier if my <br>
> Android package contained just the armv7 binaries :-)<br>
><br>
> But how do I do that? I tried specifying <br>
> "qbs.architectures:armeabi-v7a" to QBS's command line, but then it <br>
> looks like it cannot find the Qt libraries:<br>
<br>
NDK ABI name and qbs architecture name are not always the same. I <br>
suppose qbs.architecture would be armv7a here.<br>
<br>
<br>
Christian<br>
<br>
<br>
_______________________________________________<br>
Qbs mailing list<br>
<a href="mailto:Qbs@qt-project.org" target="_blank">Qbs@qt-project.org</a><br>
<a href="https://lists.qt-project.org/listinfo/qbs" rel="noreferrer" target="_blank">https://lists.qt-project.org/listinfo/qbs</a><br>
</blockquote></div>