You don't need to use all the libraries: they are divided in a way that allow you to choose what you really need. For instance if you need to localize your application, use the KI18n library, if you need an archive tool, use KArchive.
You can find the API documentation of the Frameworks on api.kde.org.
- Double-check the api
- Try to debug your application [with LINK to how to debug (on community?)]
- ask for help on #kde-devel or <mailinglist>
- Open a bug on <>