02.03.2021 12:00, Иван Комиссаров пишет:
Hello!. In the second variant - do you need
Group {
fileTagsFilter: "application"
fileTags: "trigrams-generator"
}
?
Yes, need it. Without this, there will be an error:
TypeError: Result of expression
Hello!. In the second variant - do you need
Group {
fileTagsFilter: "application"
fileTags: "trigrams-generator"
}
? The product has that type already
I’d say both variants are OK and there’s no preference.
> 1 марта 2021 г., в 21:43, Карелин Павел написал(а):
>
>
Colleagues, hello.
It's a bit of a pity that I didn't get an answer to the last question,
but it's okay. There is a working option, and it can be used.
Christian, Alberto, thanks for helping to solve my problem.
--
BR, Pavel
22.02.2021 19:07, Карелин Павел пишет:
Christian, I experimented
Christian, I experimented a little, and got another variant.
Your variant (clarification: the generation of trigrams in binary form
is performed by the parsetrigrams utility) :
Product {
name: "ParseTrigrams"
targetName: "parsetrigrams"
type: ["application"]
...
files: [
On 2/19/21 5:43 PM, Карелин Павел wrote:
Project QGit__micro is attached.
The situation is reproduced
I've attached the corrected qbs files.
Christian
import qbs
import qbs.File
import qbs.FileInfo
Product {
name: "QGit"
targetName: "qgit"
type: "application"
Project QGit__micro is attached.
The situation is reproduced
19.02.2021 19:20, Jochen Ulrich пишет:
I can create a micro-project that emulates this situation.
Yeah I think this would help. It might even help you understand what exactly
triggers the issue and then it's easier to determine if
> I can create a micro-project that emulates this situation.
Yeah I think this would help. It might even help you understand what exactly
triggers the issue and then it's easier to determine if this is a Qbs bug or a
problem in your project.
Best
Jochen Ulrich
Colleagues, developers of qbs, I still need help solving this problem.
The solution suggested by Alberto looks clear, but unfortunately it
works with a 50/50 probability.
I would like to understand: an error in the proposed solution or it a
bug of QBS?
The project itself is located here:
11.02.2021 19:26, Alberto Mardegan пишет:
On 11/02/21 10:58, Карелин Павел wrote:
But then I found out that the assembly of the project depends on the
order of declaring sections 'Depends'
Unfortunately I don't have a recent enough version of QBS (still at
1.16), so I'm unable to try your
On 11/02/21 10:58, Карелин Павел wrote:
> But then I found out that the assembly of the project depends on the
> order of declaring sections 'Depends'
Unfortunately I don't have a recent enough version of QBS (still at
1.16), so I'm unable to try your project, but can you please paste the
error
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'
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
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:
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:
Hello!
I need to build components of the project in a specific sequence:
1) Build of auxiliary generator program;
2) Generate a resource file using the generator received in step 1;
3) Add the resource file obtained in step 2 to project QRC-file;
4) Build the main project program with the
15 matches
Mail list logo