[QBS] Lib problems with MSVC

Ch'Gans chgans at gna.org
Fri Nov 6 03:08:32 CET 2015


On 6 November 2015 at 13:58, Petroules Jake EXT
<Jake.Petroules at theqtcompany.com> wrote:
>
> On Nov 5, 2015, at 4:13 PM, Ch'Gans <chgans at gna.org> wrote:
>
> Hi there,
>
> I'm using Qbs exclusively for my project, which is composed of an app,
> some libs and plugins.
> I've wrote all my qbs files by lamely copying QtC ones and tweeking them a
> bit.
> It has always worked on Linux, but it fails on Windows with MSVC
> (MinGW fails too, but it's a different issue)
>
> With MSVC I got an error saying it cannot open <mylib>d.lib (same
> error in release mode)
>
> My understanding is that this .lib file contains metadata (linkage
> info?), dll's are creating thought.
>
> I'm using the latest Qt SDK release with up to date MSVC2013/64 (AFAIK)
>
> Has anyone encountered this kind of problem before? Any point out welcome.
>
> Regards,
> Chris
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
>
> Do your DLLs actually have any exported classes/functions? See
> https://bugreports.qt.io/browse/QBS-219 and
> https://wiki.qt.io/How_to_create_a_library_with_Qt_and_use_it_in_an_application#Creating_a_shared_library

Hi Jake,

That was it! Thanks a lot!
I now remember when I started this project, as I didn't have access to
a windows computer I didn't care about it, my bad!

Thanks again,
Chris

> --
> Jake Petroules - jake.petroules at theqtcompany.com
> Consulting Services Engineer - The Qt Company, Inc.
>



More information about the Qbs mailing list