After building tqt3, to /opt/trinity and tqtinterface to /usr i am attempting to build arts (git). It fails just after reaching 100%. Any ideas?

[100%] Building CXX object qtmcop/CMakeFiles/qtmcop-shared.dir/qiomanager.cc.o
cd /mnt/sda6/build/qtmcop && /usr/bin/c++   -Dqtmcop_shared_EXPORTS -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -march=i486 -mtune=i686 -fPIC -I/usr/local/include/tqt -I/mnt/sda6/build/qtmcop -I/mnt/sda6/build/mcop -I/mnt/sda7/trinity-3.5.13/git/tde/main/dependencies/arts/mcop   -include tqt.h -o CMakeFiles/qtmcop-shared.dir/qiomanager.cc.o -c /mnt/sda7/trinity-3.5.13/git/tde/main/dependencies/arts/qtmcop/qiomanager.cc
In file included from /mnt/sda7/trinity-3.5.13/git/tde/main/dependencies/arts/qtmcop/qiomanager.cc:299:0:
/mnt/sda6/build/qtmcop/qiomanager_p.moc: In static member function ‘static QMetaObject* Arts::QIOWatch::staticMetaObject()’:
/mnt/sda6/build/qtmcop/qiomanager_p.moc:55:18: error: ‘TQUParameter’ does not name a type
/mnt/sda6/build/qtmcop/qiomanager_p.moc:58:18: error: ‘TQUMethod’ does not name a type
/mnt/sda6/build/qtmcop/qiomanager_p.moc:60:20: error: ‘slot_0’ was not declared in this scope
/mnt/sda6/build/qtmcop/qiomanager_p.moc: In static member function ‘static QMetaObject* Arts::QTimeWatch::staticMetaObject()’:
/mnt/sda6/build/qtmcop/qiomanager_p.moc:140:18: error: ‘TQUMethod’ does not name a type
/mnt/sda6/build/qtmcop/qiomanager_p.moc:142:17: error: ‘slot_0’ was not declared in this scope
make[2]: *** [qtmcop/CMakeFiles/qtmcop-shared.dir/qiomanager.cc.o] Error 1
make[2]: Leaving directory `/mnt/sda6/build'
make[1]: *** [qtmcop/CMakeFiles/qtmcop-shared.dir/all] Error 2
make[1]: Leaving directory `/mnt/sda6/build'
make: *** [all] Error 2

# find /opt/ -name "moc" -type f
/opt/trinity/lib/qt3-3.3.8.d/bin/moc

# find /usr/ -name "*moc*" -type f
/usr/local/bin/moc-tqt
/usr/local/bin/tmoc
/usr/bin/moc-tqt
/usr/bin/tmoc

# echo $PATH
/opt/trinity/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/trinity/lib/qt3-3.3.8.d/bin:/opt/trinity/lib/qt3-3.3.8.d/bin