Do you have /usr/local/kde in your KDEDIRS environment variable?
KDEDIRS is a list of KDE directory roots, where its framework can look for data, configuration, libraries, etc.
For example on my system there are three such directories:
/usr - where the distribution installed KDE
/usr/local - where I install source packacges
/usr/local/kde - where I install my programs currently under development.
My KDEDIRS environment variable looks like this
KDEDIRS=/usr/local/kde:/usr/local:/usr
Cheers,
_