In Qbs, you can set properties for individual files using Group item:

Qt.core.resourceFileBaseName: "trigrams"
Group {
    fileTagsFilter: [«qrc_input1»] // trigrams-map in your example
    fileTags: ["qt.core.resource_data»]
    Qt.core.resourcePrefix: «prefix1"
}

Group {
    fileTagsFilter: [«qrc_input2»]
    fileTags: ["qt.core.resource_data»]
    Qt.core.resourcePrefix: «prefix2"
}

Looking into Qt.core code, it supports multiple prefixes like that. Multiple 
qrc files in one Product are not supported though - this can be implemented, 
but no one needed this so far.

Ivan

> 2 окт. 2021 г., в 17:01, Карелин Павел <hka...@yandex.ru> написал(а):
> 
> Denis, if you can suggest how to generate a second resource file - I will 
> only be glad.
> 
> Now I assume that the name of the dynamic resource file depends on the 
> parameters  
>   Qt.core.resourceFileBaseName: "trigrams"
>   Qt.core.resourcePrefix: "trigrams"
>   
> And I don't understand how to specify another file name.  
> 
> --
> Pavel
> 
> 02.10.2021 09:17, Denis Shienkov пишет:

_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs

Reply via email to