[Qbs] Building code generator and its dependencies for a different architecture than the rest of the products

Christian Kandeler christian.kandeler at qt.io
Fri Mar 20 17:30:31 CET 2020

On Fri, 20 Mar 2020 16:01:09 +0000
Leon Buckel <leon.buckel at clausmark.com> wrote:

> I think I almost got it to work. The problem I have now is that the app seems to link against the wrong version of the library:
> ld: warning: ignoring file /.../lib.eyJwcm9maWxlIjoiaG9zdFByb2ZpbGUifQ--.cd69e9f1/.tmp/lib, building for iOS-arm64 but attempting to link with file built for macOS-x86_64

I assume this is from when you built the build tool for the target platform? Otherwise, the message would be the wrong way around.
Anyway, if you check the command line, do both versions of the library appear there or just the wrong one?
Also, is the behavior different between qbs 1.15 and 1.16?


More information about the Qbs mailing list