The trouble is that Sun's C++ compiler and the non-standard standard library that it comes with don't mix well with the modern C++ used by Qt and KDE. A KDE PIM hacker, Adriaan de Groot, has put a lot of effort into making it all work. You can read about his efforts here: