Why can't you use a different product type?

________________________________________
From: Qbs <[email protected]> on behalf of Richard Weickelt 
<[email protected]>
Sent: Wednesday, November 26, 2025 11:03 AM
To: [email protected]
Subject: [Qbs] Cpp application with external build command but working code 
model

As part of a larger project I want to build an ESP32 application that links
against various libraries of my project. The ESP32 application shall be
built using the ESP SDK and its tools. Qbs shall only wrap the build
command. The result of the build command is an .elf file. So I created an
application product with a rule wrapping the ESP build command. That works
fine on command line.

Now I want to edit the application source files in QtCreator and also make
use of the code model. As soon as I add the cpp module, Qbs wants to apply
its own compiler and linker rules because the product type is "application",
obviously. But I would like to avoid that for this particular product. I
just want a working code model.

Any ideas how to achieve that? There is apparently no way to override or
disable built-in rules.

Thanks.

_______________________________________________
Qbs mailing list
[email protected]
https://lists.qt-project.org/listinfo/qbs
_______________________________________________
Qbs mailing list
[email protected]
https://lists.qt-project.org/listinfo/qbs

Reply via email to