[QBS] 1. Install lib file generated for shared library 2. Generating lib file with gcc/mingw

Christian Kandeler christian.kandeler at digia.com
Fri Jun 27 11:59:53 CEST 2014


On 06/27/2014 11:04 AM, Алексей Скородумов wrote:
> Hi,
>
> I am trying to install a .lib file generated during shared library build.
>
>      Group  {
>
>          condition:  product.type  ==  "dynamiclibrary"
>
>          fileTagsFilter:  "dynamiclibrary_export"
>
>          qbs.install:  true
>
>          qbs.installDir:  "lib"
>
>      }
>
>
> That does not work. What is a correct way of doing this? Also, I did not find "dynamiclibrary_export" in qbs sources, so may be this file tag is wrong?

Yes, it's of course "dynamiclibrary_import" ;)

> Is it possbile to generate .lib file with qbs using gcc/mingw toolchain (without writing all necessary steps explicitly)?

I'm not familiar with mingw, so I don't know what kind of library files 
it produces. I assume that if the mingw module in qbs does not create 
lib files, then that's not the right thing to do for this kind of toolchain.


Christian.




More information about the Qbs mailing list