[Qbs] Qtc+Qbs+git wroktree = cannot lock build graph

2017-12-11 Thread Christian Gagneraud
Hi there, Not sure if it's a Qtc or a Qbs issue, but here is my problem: I'm using git worktrees, which means i have the same project checked-out on different branches in different sibling directories, the main qbs files have the same name, and so by default, Qtc try to use the same build dire

[Qbs] qm-file build as internal resource

2017-12-11 Thread Карелин Павел
Hi, I'm build a third-party project. The peculiarity of the project is that qm-files are represented as internal resources. Now I solved the problem with a terrible hack: 1) Created the 'Translations' product Product {     name: "Translations"     type: "qm"     destinationDirectory: project.so

Re: [Qbs] Need help with setting up a code generator

2017-12-11 Thread Christian Kandeler
On Mon, 11 Dec 2017 12:38:03 +0100 Ola Røer Thorsen wrote: > The code generator (a commandline tool) takes a set of C header files (.h) > in a given directory, and another set of template files (names matching > .tpl, .h and .cpp) in another directory. StaticLibrary { Depends { name: "cpp"

[Qbs] Need help with setting up a code generator

2017-12-11 Thread Ola Røer Thorsen
Hi all, I've got a code generator tool that I'm trying to include in a qbs project. Currently it's been used in a project using qmake, but I'd like to move on to qbs. The code generator (a commandline tool) takes a set of C header files (.h) in a given directory, and another set of template files

Re: [Qbs] Linking dynamic library with version

2017-12-11 Thread Карелин Павел
The recipe ":" has helped. Thank! 11.12.2017 12:06, Christian Kandeler пишет: On Sat, 9 Dec 2017 17:00:34 +0300 Карелин Павел wrote: I need to connect the dynamic library 'soxr' to the QBS project. The system has a symlink of libsoxr.so.0 (with the version), but not libsoxr.so How can I conne

Re: [Qbs] Linking dynamic library with version

2017-12-11 Thread Christian Kandeler
On Sat, 9 Dec 2017 17:00:34 +0300 Карелин Павел wrote: > I need to connect the dynamic library 'soxr' to the QBS project. > The system has a symlink of libsoxr.so.0 (with the version), but not > libsoxr.so > How can I connect to the project libsoxr.so.0? You can give the full file path in that