Qwt compiles without problems using Qt-4.4.1 (the last version i've installed here), so there is definitely a change.
The question is what causes this change and was it accidentally or intended (and on which side must it be solved). Can you reproduce the problem? Olivier Goffart schrieb: > On Wednesday 18 November 2009 08:42:31 Kai Benndorf wrote: >> Hello, >> >> yesterday i tried to build our application with Qt 4.6.0-rc1 on Windows >> XP, MSVC 2008. All works well, but the compilation of Qwt >> 5.2(http://qwt.sourceforge.net/) which we are using. It was complaining >> about 'qHash' : ambiguous call to overloaded function, details see below. >> >> After a bit googling i found the following thread in QtCentre: >> http://www.qtcentre.org/forum/f-qwt-23/t-qwt-build-error-with-qt-460-tp1-24 >> 037.html which suggests that this is a well known Qt problem which was >> solved already for previous 4.x release. >> >> Is this a problem in Qt 4.6.0-rc1 ? >> >> Best regards > > > To my knowledge, Qt never had a qHash function for floating point types. > I just verified it by grepping the diff between Qt 4.5 and Qt 4.6 > > > I would like to add that using a floating point type as a key of a QHash > might > be dangerous as there will be == comparison on floating point type, which > might > not work well due to rounding issue > > _______________________________________________ > Qt4-preview-feedback mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback > -- Kai Benndorf Senior Software Engineer Zuken Vattmannstrasse 3 D-33100 Paderborn Germany Tel: +49 5251 150 623 Fax: +49 5251 150 700 Email: [email protected] Skype: kai.benndorf Web: http://www.zuken.com _____________________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
