Ah, never mind, you should not since you’re not inheriting the project.profile
> 20 марта 2020 г., в 19:53, Иван Комиссаров написал(а):
>
> This looks like a bug - this property is not set in Profile item context.
>
> Shouldn't you also set qbs.architecture to «x86_64» in the hostProfile ?
>
>
This looks like a bug - this property is not set in Profile item context.
Shouldn't you also set qbs.architecture to «x86_64» in the hostProfile ?
> 20 марта 2020 г., в 17:01, Leon Buckel написал(а):
>
> Here's a small test project I set up that has the issue. Note that I have to
> set qbs.tar
> 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
On Fri, 20 Mar 2020 16:01:09 +
Leon Buckel 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
Thanks Christian, that's really helpful!
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 attemp
On Fri, 20 Mar 2020 15:41:21 +0100
Christian Kandeler wrote:
> Your app and build tool use normal Depends items for pulling in the library;
> the matching should work automatically.
Addendum: Of course, you also need to set the host profile in your build tool:
CppApplication {
// ..
On Fri, 20 Mar 2020 14:10:49 +
Leon Buckel wrote:
> I have a project with the following products:
>
> * Shared library
> * Code generator tool
> * Application
>
> The code generator and application both depend on the shared library. The
> build process is as follows:
>
> 1.
Hi,
I have a project with the following products:
* Shared library
* Code generator tool
* Application
The code generator and application both depend on the shared library. The build
process is as follows:
1. Build the shared library
2. Build the code generator and link again