qt 4.2.2 is on its way to stable and cubetest needs some fixing for that. It will only build when USE=qt3support is set for qt. So please add a check for that.
fixed.