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

2015-02-03 Thread Denis Shienkov
Ok. Clear, thanks. 2015-02-02 16:56 GMT+03:00 Christian Kandeler < christian.kande...@theqtcompany.com>: > On 02/01/2015 08:35 PM, Denis Shienkov wrote: > > Ahhh... Seems, it works with "dynamiclibrary_copy" instead of > > "dynamiclibrary_import ", > > but I'm not sure that it is correctly.. > >

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

2015-02-02 Thread Christian Kandeler
On 02/01/2015 08:35 PM, Denis Shienkov wrote: > Ahhh... Seems, it works with "dynamiclibrary_copy" instead of > "dynamiclibrary_import ", > but I'm not sure that it is correctly.. Yes, that's what we link against for gcc-like toolchains. It's a bit of an implementation detail, though. Christian

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

2015-02-01 Thread Denis Shienkov
Ahhh... Seems, it works with "dynamiclibrary_copy" instead of "dynamiclibrary_import ", but I'm not sure that it is correctly.. 01.02.2015 22:22, Denis Shienkov пишет: Hi all. I want to create a wrapper around of existing 3rd DLL on windows as a separate product. This solution works only wit

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

2015-02-01 Thread Denis Shienkov
Hi all. I want to create a wrapper around of existing 3rd DLL on windows as a separate product. This solution works only with the MSVC compiler, as says in here (in previous thread): http://lists.qt-project.org/pipermail/qbs/2014-May/000807.html My current snippet: = dllwrap.qbs = importqb

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] 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

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] How to use linking dependences of the third-party libraries

2014-05-27 Thread Denis Shienkov
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, which can export a ready (source) of linking (*.lib) and runtime (

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

2014-05-27 Thread Christian Kandeler
On 05/27/2014 12:03 PM, Denis Shienkov wrote: > Guys, can someone help me, please? :) Sorry, this is so weird I don't even know where to start. The fact that you add DLLs as source files takes me right out, for instance. Perhaps you want cpp.dynamicLibraries? I can only guess. Christian __

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

2014-05-27 Thread Denis Shienkov
Guys, can someone help me, please? :) BR, Denis 2014-05-26 12:48 GMT+04:00 Denis Shienkov : > Hi guys.. > > In my project I want linking with an third-party HASP libraries (as > example). > > E.g. from the HASP I have an only one linking library (*.lib) and one > runtime library (*.dll). > How

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

2014-05-26 Thread Denis Shienkov
Hi guys.. In my project I want linking with an third-party HASP libraries (as example). E.g. from the HASP I have an only one linking library (*.lib) and one runtime library (*.dll). How I can use those libraries to linking with them? I tried to create for them a separate product: import qbs.ba