[PATCH] add dummy operator== and dummy qHash for win32 target

André Wöbbeking Woebbeking at onlinehome.de
Sun Nov 6 11:07:36 GMT 2005


On Sunday 06 November 2005 11:54, Stephan Kulow wrote:
> On Sunday 06 November 2005 11:48, Christian Ehrlicher wrote:
> > > But it won't be possible to create a QList<T> if the operator==
> > > is private
> >
> > It can't be private - I'm getting compiler errors because some
> > template functions from QList<T> can't access to operator== when
> > it's private...
>
> That's what I mean! Either there is a QList and you _need_ operator==
> implemented or there is none. Adding a dummy one won't help.

Did you read the thread

http://lists.kde.org/?l=kde-core-devel&m=113061009510075&w=2

MSVC needs operator==() and qHash() for instantiation of QList<> (dunno 
whether for compilation or linking) even if you don't call the QList's 
methods which use them.




More information about the kde-core-devel mailing list