The dependencies listed in CMakeLists.txt are not complete - there links to qtgui, qtnetwork, qtprintsupport(!) and qtxml, and qtscript and kinit do not appear to be used (the unused ones we need to fix upstream at some point too).