But when it gets to the imagelist.cpp build, gcc is
complaining that it has 2 declarations for 'TQListViewItemIterator it'???
The error message makes sense.
The declaration of TQListViewItemIterator it(d->listView); occurs five times, each time
in a different function.
Apparently in function slotAddImages the declaration is seen twice. Once from the explicit
declaration and once indirectly through a call to one of the other functions.
The first question is why gcc 4.7 doesn't like this when previous versions have. The
second question is how to fix. I understand the message, but lack the C++ skills to know
the remedy. Probaby easy for the C++ gurus.
I think your patch is in the clear, it looks like
this will be another gcc 4.7 present...
Wasn't my patch. :)
Darrell