[Interest] Unable to build with CONFIG+=debug due to missing libraries
Nikos Chantziaras
realnc at gmail.com
Wed Mar 4 23:04:00 CET 2015
On 01/03/15 20:57, Thiago Macieira wrote:
> 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.
OK, turns out I'm hit by this bug:
https://bugreports.qt.io/browse/QTBUG-30898
So no other option than modifying spec files for now.
More information about the Interest
mailing list