[Qbs] How do I tell qbs to use the nasm assembler when building using QtCreator and a Qt kit?

Christian Kandeler christian.kandeler at qt.io
Thu Dec 14 17:27:27 CET 2017


On Thu, 14 Dec 2017 15:52:03 +0100
Ola Røer Thorsen <ola at silentwings.no> wrote:

> I'm trying to build a project that has some assembly files as well as C++
> code. I'm building from QtCreator using the latest Qt 5.10 release kit
> (Linux x86_64) on KDE Neon.
> 
> The assembly files are added to the files property along with the rest, and
> end with .asm. While building qbs seems to just ignore these, and I suspect
> it's because the toolchain has no assembler defined.

Have you tagged them properly? The .asm extension is not auto-tagged on
Linux; you will need to do that "manually" via a Group or a FileTagger item.
See https://doc.qt.io/qbs/cpp-module.html#relevant-file-tags for the assembler-related file tags.


Christian



More information about the Qbs mailing list