Re: [QBS] Just a few questions

2014-05-28 Thread Kevin Chaves
Figured it out, Thanks again everyone, I'm beginning to think that maybe my Qt creator or ubuntu 14.04 are causing issues. If i make modifications to project i still have to close and reopen the project, thats including adding files to the files: [] section of a product. I attached the project

Re: [QBS] Just a few questions

2014-05-28 Thread Kevin Chaves
> Would i have the add the relative path to the qbs file > ../../../MyItem.qbs, > or > import MyItem.qbs > and add the top level directory to the qbs search path I just realized how stupid this was ... any way, I can't get the qbsSearchPaths to work with import. I had to use import "../MyItem.qb

Re: [QBS] Just a few questions

2014-05-28 Thread Christian Kandeler
On 05/28/2014 05:49 PM, kmchaves wrote: > > /qbs/imports/MyItem.qbs: > > import qbs > So would project dir br a relative path? I don't think I understand. This is just an example directory layout. Christian ___ QBS mailing list QBS@qt-project.org

Re: [QBS] Just a few questions

2014-05-28 Thread kmchaves
> /qbs/imports/MyItem.qbs: > import qbs  So would project dir br a relative path?  ___ QBS mailing list QBS@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs

Re: [QBS] Just a few questions

2014-05-28 Thread Christian Kandeler
On 05/28/2014 04:13 PM, Kevin Chaves wrote: >> That is certainly unexpected. If you can reproduce, please file a bug >> with a minimal example and the steps to trigger it. It does not happen >> for me. > > I'll see if i can reproduce it on a smaller scale. There is a very large > stack of subproje

Re: [QBS] Just a few questions

2014-05-28 Thread Kevin Chaves
> That is certainly unexpected. If you can reproduce, please file a bug > with a minimal example and the steps to trigger it. It does not happen > for me. I'll see if i can reproduce it on a smaller scale. There is a very large stack of subprojects. I imagine that might have something to do w

Re: [QBS] Property baseDir in input but not inputs

2014-05-28 Thread Johannes.Matokic
> > So it looks like I either have to stay with QBS 1.2, live with often > > broken compilation or have to work around a bad output path (Rename > > files, change other rules/tools that rely on the path, etc). > > > > Are there any other options? > > I don't understand the last paragraph at all, p

Re: [QBS] How to use linking dependences of the third-party libraries

2014-05-28 Thread Denis Shienkov
Christian, many thanks for your help. :) This code works: DynamicLibrary { name: "hasp_windows_88149" Transformer { Artifact { fileName: product.targetName + ".dll" fileTags: "dynamiclibrary" } Artifact { fileName: pro

Re: [QBS] Property baseDir in input but not inputs

2014-05-28 Thread Christian Kandeler
On 05/28/2014 12:12 PM, johannes.mato...@microchip.com wrote: > I’m wondering why the rules ‘input’ property contains a property baseDir > while the artifacts in the ‘inputs’ property don’t have it. I That's an implementation glitch. Should really be fixed. > I’m currently trying to create a mult

Re: [QBS] How to use linking dependences of the third-party libraries

2014-05-28 Thread Christian Kandeler
On 05/28/2014 11:59 AM, Denis Shienkov wrote: > Christian, > > >So you want a kind of pseudo-product (or module, perhaps?) that acts as > a wrapper around some existing binary? > > Yes, exactly. > > > In that case, couldn't you just > create a Transformer that does nothing except specifying the a

[QBS] Property baseDir in input but not inputs

2014-05-28 Thread Johannes.Matokic
Hi, I'm wondering why the rules 'input' property contains a property baseDir while the artifacts in the 'inputs' property don't have it. I I'm currently trying to create a multiplex rule with outputArtifacts from a rule that uses an application provided via 'usings' to fix the troubles it caus

Re: [QBS] How to use linking dependences of the third-party libraries

2014-05-28 Thread Denis Shienkov
Christian, >So you want a kind of pseudo-product (or module, perhaps?) that acts as a wrapper around some existing binary? Yes, exactly. > In that case, couldn't you just create a Transformer that does nothing except specifying the artifact? Does not work, a linker do not receive a name of libr

Re: [QBS] How to use linking dependences of the third-party libraries

2014-05-28 Thread Christian Kandeler
On 05/27/2014 07:49 PM, Denis Shienkov wrote: > Christian, > > > Sorry, this is so weird I don't even know where to start. > > A problem is in that I too don't know where to start. :) > > > Perhaps you want cpp.dynamicLibraries? > > Yes, something like.. > > I want to create a some Product1, whic

Re: [QBS] Just a few questions

2014-05-28 Thread Christian Kandeler
On 05/28/2014 07:33 AM, Thomas Epting wrote: > Regarding Qbs integration in QtCreator 3.1 we see the same issues. I > know there is QBS-17 and some more, but nobody seems to be working on > these. So some time ago I did a quick hack which at least allows us to > add files to Qbs projects in a conve

Re: [QBS] Just a few questions

2014-05-28 Thread Christian Kandeler
On 05/27/2014 07:12 PM, Kevin Chaves wrote: > Thank you again. I didn't think it would be this easy to transfer > everything over. Considering I started working on this Friday as a > weekend project just to see how far i could get over the long weekend. > I'm finding that the integration with Qt Cr