PDA

View Full Version : recompile Qt, configure get error.



c154387417
9th March 2011, 02:09
Platform: Windows XP

After install Qt official package Qt SDK: qt-sdk-win-opensource-2010.05.exe.
For custom Qt settings needs, start my recompile steps:

i run a CMD shell on Qt Command Prompt & QTDIR with:

configure -debug-and-release -opensource -ltcg -no-vcproj >.\..\..\gui\qt_configure.log

enter 'y' to accept the license offer.
then got error msg:

generators/win32/msvc_vcproj.cpp:78: warning: non-local variable '<anonymous str
uct> dotNetCombo []' uses anonymous type
g++: unrecognized option '-static-libstdc++'
potential duplicate alias detected: 'widget.png'
potential duplicate alias detected: 'widget.png'

so, i can not run wingw32-make continue.

And if there 's no recompile steps, Qt SDK works well.
Even i reintstall Qt SDK and go steps above again, but just run CMD with 'configure',
do still got the SAME ERROR MSG.

This means the official Qt SDK package can not rebuild Qt itself ?
I mean do not change configure option even a bit, just run 'configure' as i say.

I don't think there's problems in qt-sdk-win-opensource-2010.05.exe install,
you see, just click "next" and "next" i've did, and Qt SDK works well for example applicaiton projects .

Help me, please.
.
.
.

c154387417
14th March 2011, 09:13
Anyone re-compile Qt with custom options has so many WARNING else ?

And this attachment is what i've collect from STDERR output.

>>>>>>>>>>>> 6085 <<<<<<<<<<<<<<<