actually, I had the chance to get hold off a windows box today and tried the code with the mingw version of qt422.
Same result. The qobject_cast doesn't work either