[Qt-interest] [Mingw-w64-public] "Memory exhausted" ld error when building Qt 4.8.0-rc1 with mingw-w64 4.7.0

K. Frank kfrank29.c at gmail.com
Wed Oct 19 19:54:34 CEST 2011


Hello xunxun!

On Wed, Oct 19, 2011 at 11:43 AM, xunxun <xunxun1982 at gmail.com> wrote:
> 于 2011/10/19 23:38, Morcego Vermelho 写道:
> ...
> If you refer to Qt build, you can modify
>
> mkspecs/win32-g++/qmake.conf  (similar it is, I forgot that)
>
> QMAKE_CFLAGS_RELEASE = -O2 -fno-keep-inline-dllexport

Thank you.  I will give this a try.  In my case I am trying to build both
the debug and release versions.  Is there a corresponding flag I should
set for the debug version.

(It appears that my "Memory exhausted" error is occurs during the
debug part of the build process.)

Am I right that to do this I edit qmake.conf by hand?  Would anyone
know offhand whether I should be doing this before or after I run the
initial configure step?

> ...
> Best Regards,
> xunxun

Thanks.  I appreciate your advice.


K. Frank



More information about the Qt-interest-old mailing list