Required Ports

Differences from the normal build process

The page on building KDE4 trunk makes a few assumptions about your environment. Note that FreeBSD's dbus and cmake ports will work (so those sections can be skipped).

Errors compiling qt-copy

Even when I tell it to, qt-copy is not compiling with dbus support

This is related to the test app for dbus in qt-copy not linking due to a pthreads dependency in libdbus on FreeBSD. To fix it go to: (builddir)/qt-copy/config.tests/unix/dbus . Then manually run "g++ dbus.o -lpthread -ldbus-1 -L/usr/local/lib -o dbus".
That should generate the "dbus" file, and you should be able to continue your qt build as you left off, building dbus this time

Errors compiling kdelibs

kdelibs wont compile, complaining that it can't find qdbus

See the above question on dbus not compiling (even if you told it to compile). If QT can't find the dbus libs, it silently fails and will continue to build without dbus.