Hello Xavi
This is the warning layer I receive when compile with
MinGW 4.3.3 which is included in Viktor's distribution.
I do not get this warning if I compile with MinGW distro accompanying
QT itself which is a probably version 3.4.2 | 5.
make[1]: Entering directory `C:/harbour/contrib/hbqt/win/mingw'
gcc -I. -I../../../../include -Wall -W -O3 -fomit-frame-pointer -march=i586
-mtune=pentiumpro -DHB_FM_STATISTICS_OFF -DHB_GUI
-Ic:\qt\2009.01\qt\include -Ic:\qt\2009.01\qt\include -c
../../hbqt_qabstractbutton.cpp -ohbqt_qabstractbutton.o
In file included from c:\qt\2009.01\qt\include/QtGui/qcolor.h:1,
from
c:\qt\2009.01\qt\include/QtGui/../../src/gui/kernel/qpalette.h:46,
from c:\qt\2009.01\qt\include/QtGui/qpalette.h:1,
from
c:\qt\2009.01\qt\include/QtGui/../../src/gui/kernel/qwidget.h:48,
from c:\qt\2009.01\qt\include/QtGui/qwidget.h:1,
from c:\qt\2009.01\qt\include/QtGui/QWidget:1,
from ../../hbqt.h:247,
from ../../hbqt_qabstractbutton.cpp:56:
c:\qt\2009.01\qt\include/QtGui/../../src/gui/painting/qcolor.h:241: warning:
'QDataStream& operator<<(QDataStream&, const QColor&)' redeclared without
dllimport attribute: previous dllimport ignored
c:\qt\2009.01\qt\include/QtGui/../../src/gui/painting/qcolor.h:242: warning:
'QDataStream& operator>>(QDataStream&, QColor&)' redeclared without
dllimport attribute: previous dllimport ignored
In file included from c:\qt\2009.01\qt\include/QtGui/qpainterpath.h:1,
from
c:\qt\2009.01\qt\include/QtGui/../../src/gui/painting/qtransform.h:45,
from c:\qt\2009.01\qt\include/QtGui/qtransform.h:1,
from
c:\qt\2009.01\qt\include/QtGui/../../src/gui/painting/qbrush.h:50,
from c:\qt\2009.01\qt\include/QtGui/qbrush.h:1,
from
c:\qt\2009.01\qt\include/QtGui/../../src/gui/kernel/qpalette.h:47,
from c:\qt\2009.01\qt\include/QtGui/qpalette.h:1,
from
c:\qt\2009.01\qt\include/QtGui/../../src/gui/kernel/qwidget.h:48,
from c:\qt\2009.01\qt\include/QtGui/qwidget.h:1,
from c:\qt\2009.01\qt\include/QtGui/QWidget:1,
from ../../hbqt.h:247,
from ../../hbqt_qabstractbutton.cpp:56:
c:\qt\2009.01\qt\include/QtGui/../../src/gui/painting/qpainterpath.h:233:
warning: 'QDataStream& operator<<(QDataStream&, const QPainterPath&)'
redeclared without dllimport attribute: previous dllimport ignored
c:\qt\2009.01\qt\include/QtGui/../../src/gui/painting/qpainterpath.h:234:
warning: 'QDataStream& operator>>(QDataStream&, QPainterPath&)' redeclared
without dllimport attribute: previous dllimport ignored
In file included from c:\qt\2009.01\qt\include/QtGui/qkeysequence.h:1,
from
c:\qt\2009.01\qt\include/QtGui/../../src/gui/kernel/qwidget.h:56,
from c:\qt\2009.01\qt\include/QtGui/qwidget.h:1,
from c:\qt\2009.01\qt\include/QtGui/QWidget:1,
from ../../hbqt.h:247,
from ../../hbqt_qabstractbutton.cpp:56:
c:\qt\2009.01\qt\include/QtGui/../../src/gui/kernel/qkeysequence.h:199:
warning: 'QDataStream& operator<<(QDataStream&, const QKeySequence&)'
redeclared without dllimport attribute: previous dllimport ignored
c:\qt\2009.01\qt\include/QtGui/../../src/gui/kernel/qkeysequence.h:200:
warning: 'QDataStream& operator>>(QDataStream&, QKeySequence&)' redeclared
without dllimport attribute: previous dllimport ignored
Any clue what is this?
Note that warning output is multiline for a single instance.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/QT---One-unresolved-warning-tp22912989p22920985.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour