Olivier Goffart wrote:

> Ok.  But still, qSort does not seems to use qHash.

Indeed, but QList has a toSet method and QSet needs hashing ...

It's hard to say why some compilers do the unnecessary instantiation and
what makes them to do it - I'm only guessing too.

> Can you give me the stack of instentiation that code an instentiation of
> qHash(double).   You told me  qhash.h(875),  but it does not tell me what
> instantiate QHash<double, ???>

The problem is reported in different ways ( with different workarounds ) on
the Qwt support channels but seems to be related to the following line in
qwt_valuelist.h:

template class __declspec(dllexport) QList<double>;

This declaration is for building the Qwt library itsself ( not for using
it ) on Windows. You can download the Qwt library (version 5.2 ) here:
http://sourceforge.net/projects/qwt . It can be build with qmake + make.

Uwe
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to