[Qt-interest] Qt 4.5.0 RC on Windows/g++

Yves Bailly yves.bailly at sescoi.fr
Mon Feb 9 13:01:20 CET 2009


Hello all,

When compiling the last RC on Windows using g++, I receive thousands of
warnings like the following one. Ok, it's just warnings, but they're
quite annoying when building an application...

In file included from ..\..\..\include/QtGui/qpainterpath.h:1,
                  from 
..\..\..\include/QtGui/../../src/gui/painting/qtransform.h:40,
                  from ..\..\..\include/QtGui/qtransform.h:1,
                  from ..\..\..\include/QtGui/../../src/gui/painting/qbrush.h:45,
                  from ..\..\..\include/QtGui/qbrush.h:1,
                  from ..\..\..\include/QtGui/../../src/gui/kernel/qpalette.h:42,
                  from ..\..\..\include/QtGui/qpalette.h:1,
                  from ..\..\..\include/QtGui/../../src/gui/kernel/qwidget.h:43,
                  from ..\..\..\include/QtGui/qwidget.h:1,
                  from ..\..\..\include/QtGui/../../src/gui/kernel/qaction.h:42,
                  from ..\..\..\include/QtGui/qaction.h:1,
                  from ..\..\..\include/QtGui/QAction:1,
                  from ui_calculatorform.h:14,
                  from calculatorform.h:41,
                  from main.cpp:39:
..\..\..\include/QtGui/../../src/gui/painting/qpainterpath.h:228: warning: 
'QDataStream& operator<<(QDataStream&, const
QPainterPath&)' redeclared without dllimport attribute: previous dllimport ignored
..\..\..\include/QtGui/../../src/gui/painting/qpainterpath.h:229: warning: 
'QDataStream& operator>>(QDataStream&, QPaint
erPath&)' redeclared without dllimport attribute: previous dllimport ignored

Some infos:

E:\qt450>g++ --version
g++ (4.3.2-tdm-2 mingw32) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


E:\qt450>mingw32-make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-mingw32

E:\qt450>echo %QTDIR%
E:\qt450

E:\qt450>echo %QMAKESPEC%
win32-g++

E:\qt450>echo %PATH%
E:\qt450\bin;E:\MinGW\bin;c:\windows;c:\windows\system32

Regards,

-- 
     /- Yves Bailly - Software developper  -\
     \- Sescoi France http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."




More information about the Qt-interest-old mailing list