[Interest] Unable to build with CONFIG+=debug due to missing libraries

Thiago Macieira thiago.macieira at intel.com
Sun Mar 1 19:57:34 CET 2015


On Sunday 01 March 2015 10:30:22 Nikos Chantziaras wrote:
> On 28/02/15 21:15, Thiago Macieira wrote:
> > On Saturday 28 February 2015 14:01:33 Nikos Chantziaras wrote:
> >> But when building for Windows, this doesn't work:
> >>     qmake CONFIG+=debug
> >>     make
> >>     ...
> >>     make[1]: *** No rule to make target 'libQt5Widgetsd.a'
> >> 
> >> Why is that? I'm not trying to debug Qt
> > 
> > The question is why you don't have libQt5Widgetsd.a. How did you install
> > Qt? The official mingw packages should have both sets of libraries.
> 
> Statically compiled under Linux using a mingw-w64 cross compiler.

Make sure you enabled the debug-and-release build when you built.

Since cross-compiling to Windows is not supported and not tested, this may be 
a mistake in the configure script that no one has ever caught.

> But it's OK, I can modify the mkspecs as Andreas suggested.

Or build the the missing libraries.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list