Re: [Qbs] Build and run a AuxiliaryApplication before build a MainApplication

2021-02-10 Thread Карелин Павел
This morning I tried the following solution (see below). got this error :-1: ошибка: The process '/home/hkarel/CProjects/QGit/build/Debug/bin/sonnet_parsetrigrams' could not be started: execve: Permission denied. The full command line invocation was:

Re: [Qbs] Build and run a AuxiliaryApplication before build a MainApplication

2021-02-10 Thread Alberto Mardegan
On 10/02/21 11:48, Карелин Павел wrote: >     Group { >     fileTagsFilter: ["trigrams-map"] >     //fileTagsFilter: ["sonnet-parse-trigrams-run"] >     fileTags: ["qt.core.resource_data"] >     } Does it help if you remove this Group and instead add outputFileTags:

Re: [Qbs] Build and run a AuxiliaryApplication before build a MainApplication

2021-02-10 Thread Alberto Mardegan
Just got some more thoughts: On 10/02/21 11:48, Карелин Павел wrote: > --- parsetrigrams.qbs --- > import qbs > import qbs.FileInfo > > Product { >     name: "SonnetParseTrigrams" >     targetName: "sonnet_parsetrigrams" >     condition: true > >     type: "application" You can add an

Re: [Qbs] Build and run a AuxiliaryApplication before build a MainApplication

2021-02-10 Thread Карелин Павел
Hi, Alberto, colleagues At first, your recipe with   type: ["application", "trigrams-generator"] and   Depends { productTypes: ["trigrams-generator"] } helped me, the project was built. But then I found out that the assembly of the project depends on the order of declaring sections 'Depends'