Thiago Macieira wrote:

> We're not going to export ALL possible template instantiations of QList.

Sorry for insisting, but did you notice the code snippet Jordi and Michael
have posted in this thread ? It has nothing to do with exporting.

> I'm sorry, there's nothing we can do.

I guess moving QList::toSet() away from QList would solve the problem. But
the fact that Qt 4.3-4.5 work shows, that there should be less radical ways
to make QList<T> instantiations compilable (for those weak compilers)
without having a corresponding qHash(T) implementation.

> But don't export it, like that line in qwt_valuelist.h does.

Unfortunately it's not so easy to maintain a cross-platform library without
having most of the platforms.

All export declarations of templates in Qwt headers are the result of user
feedback. They are there since Qt2 days, because I was told, that they are
necessary to link applications against Qt/Qwt.

So what do you suggest to do instead ?

> [ task 150601 ]
> It was first Rejected, then we figured out that it worked with MinGW. In
> other words, this was never fixed, because it wasn't tested with VS.

But VS was tested by many Qwt users: the workaround in qwt_valulist.h has
a "#if QT_VERSION < 0x040300". And let me point out, that the problem with
Qwt/Qt 4.6 is also reported for MinGW !

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

Reply via email to