I also tried to compile with tqt3, but it doesn't compile neither.

make[4]: Entering directory `/home/midenok/src/kde/tqt3/tools/designer/designer'
/home/midenok/src/kde/tqt3/bin/uic -L /home/midenok/src/kde/tqt3/plugins customwidgeteditor.ui -i customwidgeteditor.h -o customwidgeteditor.cpp
make[4]: *** [customwidgeteditor.cpp] Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff14f893c in ?? () from /opt/kde3/lib/libkabc.so.1
(gdb)
(gdb) bt
#0  0x00007ffff14f893c in ?? () from /opt/kde3/lib/libkabc.so.1
#1  0x00007ffff752abc2 in TQApplication::~TQApplication (this=0x7fffffff8520, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1038
#2  0x000000000040db67 in main (argc=8, argv=0x7fffffff8bd8) at main.cpp:74

Can you guess why this happening?