DEPEND="qt? ( ~/x11-libs/qt2 ) needs to be changed to ~/x11-libs/qt otherwise it fails the dependency checks and wont build.
see the discussion in the other thread. *** This bug has been marked as a duplicate of 1894 ***