Looks like you are getting much closer! Try it again with revision 1173590 or above.
FTBFS.
In kdmpixmap.cpp I tried adding tqfile.h.
WAS: #include <tqimage.h>
CHANGED TO: #include <tqimage.h> #include <tqfile.h>
My meager effort failed. No joy in Mudville. :(
Log attached!